You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support proposal-json-parse-with-source (JSON.rawJSON(), JSON.isRawJSON(), context parameter of reviver function, etc...) #61330
JSON.rawJSON() appears to be missing. Apologies if I've missed something or if this is the wrong place to raise an issue. I searched through both PRs and issues in both this repo and https://github.com/microsoft/TypeScript-DOM-lib-generator but couldn't find any references for it.
changed the title [-]Support for `JSON.rawJSON()`[/-][+]Support `proposal-json-parse-with-source` (`JSON.rawJSON()`, `JSON.isRawJSON()`, `context` parameter of `reviver` function, etc...)[/+]on May 19, 2025
Activity
RobMayer commentedon Mar 10, 2025
the third parameter of the JSON.parse reviver is also missing, it seems - same proposal.
ym-project commentedon Mar 24, 2025
Also there is
JSON.isRawJSON(value)[-]Support for `JSON.rawJSON()`[/-][+]Support `proposal-json-parse-with-source` (`JSON.rawJSON()`, `JSON.isRawJSON()`, `context` parameter of `reviver` function, etc...)[/+]ahmouse15 commentedon Feb 15, 2026
Any updates on this? This feature has been standard in browsers and node for almost 3 years now.
Add lib types for JSON.rawJSON, JSON.isRawJSON, and reviver context
Add lib types for JSON.rawJSON, JSON.isRawJSON, and reviver context
Add lib types for JSON.rawJSON, JSON.isRawJSON, and reviver context
Add lib types for JSON.rawJSON, JSON.isRawJSON, and reviver context
Add lib types for JSON.rawJSON, JSON.isRawJSON, and reviver context
Add lib types for JSON.rawJSON, JSON.isRawJSON, and reviver context