Re: [whatwg/fetch] Add `Response.json` static method (PR #1392)

@lucacasonato commented on this pull request.



> @@ -7520,6 +7542,25 @@ are:
  <li><p>Return <var>responseObject</var>.
 </ol>
 
+
+<p>The static
+<dfn method for=Response><code>json(<var>data</var>, <var>init</var>)</code></dfn> method steps
+are:
+
+<ol>
+ <li><p>Let <var>bytes</var> the result of running <a>serialize a JavaScript value to JSON bytes</a>

https://github.com/web-platform-tests/wpt/pull/32825/commits/004ac56823ea7b19160a9a97f9722bdd23bb7726

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/pull/1392#discussion_r822695657
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/fetch/pull/1392/review/904426464@github.com>

Received on Wednesday, 9 March 2022 14:19:20 UTC