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

Unescaped " not parsed correctly #32

Open
alexey-r-work opened this issue Aug 28, 2020 · 0 comments
Open

Unescaped " not parsed correctly #32

alexey-r-work opened this issue Aug 28, 2020 · 0 comments

Comments

@alexey-r-work
Copy link

Hi, with v0.9.1 on a simple JSON:

Input: {"name": "White 17" Microwave", "price": "50.00"}
Expected output: {"name": "White 17\" Microwave", "price": "50.00"}
Actual output: Found } that I can't handle at line -1:-1

Interesting that if I replace 50.00 with a non-number (e.g. Fifty), it doesn't fail but produces incorrect output (leaves only "name" and loses space after "):

Input: {"name": "White 17" Microwave", "price": "Fifty"}
Expected output: {"name": "White 17\" Microwave", "price": "Fifty"}
Actual output: {"name":"White 17\"Microwave\", \"price\": \"Fifty\"}"}

Can something be done here?

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