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

New line in json does not work #57

Open
charlesmlin opened this issue Jul 6, 2020 · 2 comments
Open

New line in json does not work #57

charlesmlin opened this issue Jul 6, 2020 · 2 comments

Comments

@charlesmlin
Copy link

When I try to use json.sh with json string containing new line, parsing will fail.

Example:
printf '{"a":"b\nc"}' | ./json.sh

Result:
EXPECTED value GOT "

@pcworld
Copy link

pcworld commented Feb 1, 2021

That doesn't seem to be valid JSON according to https://stackoverflow.com/a/2392888

@fedekrum
Copy link

fedekrum commented Dec 1, 2021

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

3 participants