Json
Wrapper for a native JSON object.
This class is an implementation of a simple JSON object.
Since it is based on Pointer, all methods in this class do not require to be run on the main thread, however they require you to run them always on the same thread. To pass it a different thread, you can change its thread but beware of the possible consequences.
Please read documentation of Pointer on how you should manage pointer's lifetime.
Constructors
Types
Functions
Link copied to clipboard
Return the JSON object as array.
Link copied to clipboard
Change thread this pointer can be accessed from to the current one.
Link copied to clipboard
Dump the JSON object to an output stream.
Link copied to clipboard
Check if the pointer is the same as in another pointer.
Link copied to clipboard
Set to a boolean value.
Set to an array.
Set to a dictionary.
Set to a double-precision floating-point number.
Set to a string.
Set to an integer.