put

Add the given boolean value to a resulting JSON object using the given key.

Returns the previous value associated with key, or null if the key was not present.


Add the given numeric value to a resulting JSON object using the given key.

Returns the previous value associated with key, or null if the key was not present.


Add the given string value to a resulting JSON object using the given key.

Returns the previous value associated with key, or null if the key was not present.


Add null to a resulting JSON object using the given key.

Returns the previous value associated with key, or null if the key was not present.