namespace sample.json

Functions

parse(str)code »

Parses a JSON string.

Parameters
str string

The string to parse.

Returns

The parsed value.


stringify(value)code »

Converts a value to its JSON representation.

Parameters
value *

The value to convert.

Returns
string

The value's JSON representation.

Compiler Constants

DEBUG boolean

Whether to enable debug mode.