- </svg></div><div id="menu-spacer" class="menu-spacer"></div><div id="menu"><div id="menu-search"><input type="text" id="menu-search-box" placeholder="Search..."><div id="menu-search-results" class="inactive"></div></div><div id="menu-pins"><div class="menu-pane-header">Pins</div><ul id="menu-pins-list"></ul></div><div class="menu-pane-header">Table of Contents</div><div id="menu-toc"><ol class="toc"><li><span class="item-toggle">◢</span><a href="#sec-json-object" title="The JSON Object"><span class="secnum">1</span> The JSON Object</a><ol class="toc"><li><span class="item-toggle-none"></span><a href="#sec-json.israwjson" title="JSON.isRawJSON ( O )"><span class="secnum">1.1</span> JSON.isRawJSON ( <var>O</var> )</a></li><li><span class="item-toggle">◢</span><a href="#sec-json.parse" title="JSON.parse ( text [ , reviver ] )"><span class="secnum">1.2</span> JSON.parse ( <var>text</var> [ , <var>reviver</var> ] )</a><ol class="toc"><li><span class="item-toggle-none"></span><a href="#sec-json-parse-record" title="JSON Parse Record"><span class="secnum">1.2.1</span> JSON Parse Record</a></li><li><span class="item-toggle-none"></span><a href="#sec-createjsonparserecord" title="CreateJSONParseRecord ( parseNode, key, val )"><span class="secnum">1.2.2</span> CreateJSONParseRecord ( <var>parseNode</var>, <var>key</var>, <var>val</var> )</a></li><li><span class="item-toggle-none"></span><a href="#sec-internalizejsonproperty" title="InternalizeJSONProperty ( holder, name, reviver, parseRecord )"><span class="secnum">1.2.3</span> InternalizeJSONProperty ( <var>holder</var>, <var>name</var>, <var>reviver</var>, <ins><var>parseRecord</var></ins> )</a></li><li><span class="item-toggle-none"></span><a href="#sec-static-semantics-shallowestcontainedjsonvalue" title="Static Semantics: ShallowestContainedJSONValue"><span class="secnum">1.2.4</span> SS: ShallowestContainedJSONValue</a></li></ol></li><li><span class="item-toggle-none"></span><a href="#sec-json.rawjson" title="JSON.rawJSON ( text )"><span class="secnum">1.3</span> JSON.rawJSON ( <var>text</var> )</a></li><li><span class="item-toggle">◢</span><a href="#sec-json.stringify" title="JSON.stringify ( value [ , replacer [ , space ] ] )"><span class="secnum">1.4</span> JSON.stringify ( <var>value</var> [ , <var>replacer</var> [ , <var>space</var> ] ] )</a><ol class="toc"><li><span class="item-toggle-none"></span><a href="#sec-serializejsonproperty" title="SerializeJSONProperty ( state, key, holder )"><span class="secnum">1.4.1</span> SerializeJSONProperty ( <var>state</var>, <var>key</var>, <var>holder</var> )</a></li></ol></li></ol></li><li><span class="item-toggle-none"></span><a href="#sec-static-semantics-arrayliteralcontentnodes" title="Static Semantics: ArrayLiteralContentNodes"><span class="secnum">2</span> SS: ArrayLiteralContentNodes</a></li><li><span class="item-toggle-none"></span><a href="#sec-static-semantics-propertydefinitionnodes" title="Static Semantics: PropertyDefinitionNodes"><span class="secnum">3</span> SS: PropertyDefinitionNodes</a></li><li><span class="item-toggle-none"></span><a href="#sec-copyright-and-software-license" title="Copyright & Software License"><span class="secnum">A</span> Copyright & Software License</a></li></ol></div></div><div id="spec-container"><h1 class="shortname">Proposal <a href="<no location>"></a><a href="https://github.com/tc39/proposal-json-parse-with-source">proposal-json-parse-with-source</a></h1><h1 class="version">Stage 3 Draft / November 7, 2025</h1><h1 class="title">JSON.parse source text access</h1>
0 commit comments