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

Fix a problem with "key":"value\\" #9

Merged
merged 3 commits into from
Mar 20, 2019
Merged

Fix a problem with "key":"value\\" #9

merged 3 commits into from
Mar 20, 2019

Conversation

mavik
Copy link
Contributor

@mavik mavik commented Mar 20, 2019

My JSON-file has values like this:
"phone":"+254652155251\"
and it causes the error "Unexpected symbol '' At position ".

My JSON-file has values like this:
"phone":"+254652155251\\"
and it causes the error "Unexpected symbol '<char>' At position <number>".
@halaxa
Copy link
Owner

halaxa commented Mar 20, 2019

Nice catch, thanks. Could you please add a test case for it to ParserTest?

@halaxa halaxa merged commit 8e3555b into halaxa:master Mar 20, 2019
@halaxa
Copy link
Owner

halaxa commented Mar 20, 2019

Test added and merged. Thank you.

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

Successfully merging this pull request may close these issues.

2 participants