Skip to content

Commit

Permalink
Meta: fix exported JSON terms regression
Browse files Browse the repository at this point in the history
In 79b945d I unintentionally dropped "parse JSON from bytes" and "serialize JSON to bytes", breaking Fetch builds in the process.
  • Loading branch information
annevk committed Nov 19, 2024
1 parent 2410293 commit dee8f32
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions infra.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1898,8 +1898,9 @@ specification. [[!ECMA-262]]
</div>

<div algorithm>
<p>To <dfn export>parse JSON bytes to a JavaScript value</dfn>, given a <a>byte sequence</a>
|bytes|:
<p>To
<dfn export lt="parse JSON bytes to a JavaScript value|parse JSON from bytes">parse JSON bytes to a JavaScript value</dfn>,
given a <a>byte sequence</a> |bytes|:

<ol>
<li><p>Let |string| be the result of running <a>UTF-8 decode</a> on |bytes|. [[!ENCODING]]
Expand Down Expand Up @@ -1932,8 +1933,9 @@ specification. [[!ECMA-262]]
</div>

<div algorithm>
<p>To <dfn export>serialize a JavaScript value to JSON bytes</dfn>, given a JavaScript value
|value|:
<p>To
<dfn export lt="serialize a JavaScript value to JSON bytes|serialize JSON to bytes">serialize a JavaScript value to JSON bytes</dfn>,
given a JavaScript value |value|:

<ol>
<li><p>Let |string| be the result of <a>serializing a JavaScript value to a JSON string</a> given
Expand Down

0 comments on commit dee8f32

Please sign in to comment.