Standard built-ins
JSON
Namespace for parsing JSON text and serializing supported values. Not a constructor.
Formal Syntax & Structure
javascript syntaxjavascript
JSON.parse(text); JSON.stringify(value)Working Example
Example Snippetjavascript
console.log(JSON.stringify(JSON.parse("[1,2]")));