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

json string values can not contain space charset #4

Open
rootiny opened this issue Jul 23, 2019 · 0 comments
Open

json string values can not contain space charset #4

rootiny opened this issue Jul 23, 2019 · 0 comments

Comments

@rootiny
Copy link

rootiny commented Jul 23, 2019

test_data='{"data":"","msg":"test error!","retCode":0}'
json_load "${test_data}"
json_get_var msg "msg"

report the error
eval: line 1: syntax error: unterminated quoted string

if the value of msg is test_error!, it works fine

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