Closed dvdsgl closed 7 years ago
The property x" is represented in the AST as x\":
x"
x\"
{ "x\"": 0 }
becomes:
{ "type": "object", "children": [ { "type": "property", "key": { "type": "identifier", "value": "x\\\"", }, ... }
Try this to verify:
> let sample = JSON.stringify({ 'x"': 0 }) > JSON.parse(sample) { 'x"': 0 } > parse(sample).children[0].key.value 'x\\"'
@dvdsgl, is it correct now?
The property
x"
is represented in the AST asx\"
:becomes:
Try this to verify: