Module js_sys::JSON

source · []
Expand description

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

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

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

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

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