JSON source text access
Limited availability
To serialize and parse JSON in a lossless way, JSON.stringify()
handles rawJSON
values and JSON.parse()
's reviver callback takes a source context parameter.
Learning resources on MDN
Browser support
- Chrome 114 Released on 2023-05-30
- Chrome Android 114 Released on 2023-05-30
- Edge 114 Released on 2023-06-02
- Firefox 135 Released on 2025-02-04
- Firefox for Android 135 Released on 2025-02-04
- Safari ❌
- Safari on iOS ❌
Baseline availability blocked since February 2025 by Safari (0 months)
Specifications
- JSON.parse source text access (#sec-json-object), from TC39 (Ecma International).
View web-platform-tests results for this feature - View the feature source file - Edit the feature - Report an issue about this feature