JavaScript Object Notation
JSON type enumeration
JSON value node
Value when type is JSON_TYPE.STRING
Value when type is JSON_TYPE.INTEGER
Value when type is JSON_TYPE.UINTEGER
Value when type is JSON_TYPE.FLOAT
Value when type is JSON_TYPE.OBJECT
Value when type is JSON_TYPE.ARRAY
Specifies the type of the value stored in this structure.
array syntax for json arrays
hash syntax for json objects
Parses a serialized string and returns a tree of JSON values.
Takes a tree of JSON values and returns the serialized string.
If pretty is false no whitespaces are generated. If pretty is true serialized string is formatted to be human-readable. No exact formatting layout is guaranteed in the latter case.
Exception thrown on JSON errors