json

Functions for reading and writing files in JSON format (http://json.org).

Summary
jsonFunctions for reading and writing files in JSON format (http://json.org).
Exceptions
JsonFormatExceptionIndicates that a formatting error was encountered when reading JSON.
Functions
decodeDecode JSON data in a string to a result in a <Object>.
encodeEncode a value in a <Object> to JSON data in a string.

Exceptions

JsonFormatException

Indicates that a formatting error was encountered when reading JSON.

Functions

decode

FUNCTION decode(json: String): Object

Decode JSON data in a string to a result in a <Object>.

encode

FUNCTION encode(data: Object): String

Encode a value in a <Object> to JSON data in a string.

FUNCTION decode(json: String): Object
Decode JSON data in a string to a result in a Object.
FUNCTION encode(data: Object): String
Encode a value in a Object to JSON data in a string.
Close