Currently, " is replaced with “ or” and ' is replaced with‘ or ’ depending on if it is on the right-hand side or the left-hand side. This should be able to be resolved by writing a custom replacer for JSON.stringify that replaces " with \" and ' with \'.
Currently,
"
is replaced with“
or”
and'
is replaced with‘
or’
depending on if it is on the right-hand side or the left-hand side. This should be able to be resolved by writing a custom replacer forJSON.stringify
that replaces"
with\"
and'
with\'
.