JSON JSON Object
Last updated: 2026-09-09
JSON JSON Object
JSON provides parse and stringify.
| Category | Objects |
|---|---|
| ES version | ES1 |
📝 Syntax
JSON.parse(str); JSON.stringify(obj);
▶ Example
Edit the code, press Run, and see the result in the output panel:
Output:
Zhang
💡 Tip JSON.stringify(obj, null, 2) for pretty-print.
🏷️ Related Objects
💡 Related Cases
More case studies coming soon — check back later.
📚 Related Tutorials
❓ FAQ
QJSON key quotes?
ADouble quotes only.
QWhat does stringify skip?
AFunctions, undefined, Symbol.
QJSON vs JS objects?
AJSON keys must be double-quoted; no functions.