json-parser json-parser can be used to parse non-standard json Usage json.parse( ` { a: 'null', "b": 1, 'c': [ -Infinity, NaN, 'a', { null: { c: 'NaN' } } ], d: '\\'', e: "\\"", f: -Infinity, } ` )