Module js_sys::JSON[][src]

The JSON object contains methods for parsing JavaScript Object Notation (JSON) and converting values to JSON. It can’t be called or constructed, and aside from its two method properties, it has no interesting functionality of its own.

Functions

parse

The JSON.parse() method parses a JSON string, constructing the JavaScript value or object described by the string.

stringify

The JSON.stringify() method converts a JavaScript value to a JSON string.

stringify_with_replacer

The JSON.stringify() method converts a JavaScript value to a JSON string.

stringify_with_replacer_and_space

The JSON.stringify() method converts a JavaScript value to a JSON string.