Web platform features explorer

JSON source text access

Limited availability
Tags: javascript Groups: JavaScript > JSON

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.

Specifications

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 (5 months)