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 ❌
- Firefox for Android ❌
- Safari ❌
- Safari on iOS ❌
Specifications
- JSON.parse source text access (#sec-json-object), from TC39 (Ecma International).