4 ms·
Neither Chrome nor Firefox's JSON.parse accept JSON5. I'm not sure what browser API you mean. For example, JSON.parse(`{"foo":"bar",}`) throws a syntax err
by tlb 8y ago
Neither Chrome nor Firefox's JSON.parse accept JSON5. I'm not sure what browser API you mean.
For example,
JSON.parse(`{"foo":"bar",}`)
throws a syntax error.
- nostalgeek 8y ago> Neither Chrome nor Firefox's JSON.parse accept JSON5. I'm not sure what browser API you mean. This is a typo, I meant "can't" not "can". Off course browsers don't support JSON5 or my message makes no sense whatsoever.