Skip to content

Commit dee8f32

Browse files
committed
Meta: fix exported JSON terms regression
In 79b945d I unintentionally dropped "parse JSON from bytes" and "serialize JSON to bytes", breaking Fetch builds in the process.
1 parent 2410293 commit dee8f32

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

infra.bs

+6-4
Original file line numberDiff line numberDiff line change
@@ -1898,8 +1898,9 @@ specification. [[!ECMA-262]]
18981898
</div>
18991899

19001900
<div algorithm>
1901-
<p>To <dfn export>parse JSON bytes to a JavaScript value</dfn>, given a <a>byte sequence</a>
1902-
|bytes|:
1901+
<p>To
1902+
<dfn export lt="parse JSON bytes to a JavaScript value|parse JSON from bytes">parse JSON bytes to a JavaScript value</dfn>,
1903+
given a <a>byte sequence</a> |bytes|:
19031904

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

19341935
<div algorithm>
1935-
<p>To <dfn export>serialize a JavaScript value to JSON bytes</dfn>, given a JavaScript value
1936-
|value|:
1936+
<p>To
1937+
<dfn export lt="serialize a JavaScript value to JSON bytes|serialize JSON to bytes">serialize a JavaScript value to JSON bytes</dfn>,
1938+
given a JavaScript value |value|:
19371939

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

0 commit comments

Comments
 (0)