Re: [whatwg/fetch] Proposal: make `Response.json()` compatible with .jsonc (JSON w/ comments) (Issue #1478)

Web features, including fetch, call https://infra.spec.whatwg.org/#parse-json-bytes-to-a-javascript-value to parse JSON. This eventually links to the ECMAScript definition.

Web specs shouldn't 'fork' JSON parsing, so changes like the one you're proposing should happen in ECMAScript.

I found some discussion here https://es.discourse.group/t/support-js-style-comments-in-json/814, but there may be more elsewhere.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/issues/1478#issuecomment-1212732377
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/fetch/issues/1478/1212732377@github.com>

Received on Friday, 12 August 2022 05:04:22 UTC