value
Append either the value true
or the value false
.
Return
this
Parameters
b
A boolean.
Throws
if a called function has an error
Append a double value.
Return
this
Parameters
d
A double.
Throws
If the number is not finite.
Append a long value.
Return
this
Parameters
l
A long.
Throws
if a called function has an error
Append an object value.
Return
this
Parameters
object
The object to append. It can be null, or a Boolean, Number, String, JSONObject, or JSONArray, or an object that implements JSONString.
Throws
If the value is out of sequence.