Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backlashes are not escaped in json output #79

Open
vmora opened this issue Sep 30, 2015 · 0 comments
Open

Backlashes are not escaped in json output #79

vmora opened this issue Sep 30, 2015 · 0 comments

Comments

@vmora
Copy link
Contributor

vmora commented Sep 30, 2015

I came across this because of an attribute that is a windows path:

 "documents": "..\Photos\17\f139p223.jpg"

When parsing with JSON.parse(..) the "\P" causes:

SyntaxError: JSON.parse: bad escaped character at line 2 column 458 of the JSON data
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant