JSON with latest ECMAScript fixes
October 30, 2019 ยท View on GitHub
Fixes the (in)famous \u2028 and \u2029 behavior that produces unparsable JS, and it also fixes not well formed strings.
- CDN via https://unpkg.com/@ungap/json
- ESM via
import json from '@ungap/json' - CJS via
const json = require('@ungap/json')
Compatible with every engine that has already JSON.