You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can't seem to deal with json with escaped characters.
[{
"id": 413,
"description": "This \"String\" can't be processed even though its valid json."
}]
Have tried
curl $URL | jsawk -n 'out(this["description"])'
// json parse error
curl $URL > json.json
cat json.json | jsawk -n 'out(this["description"])'
// json parse error. looking at json.json the " characters seem to be escaped.
Not sure if I'm missing a special flag but can't see any information in the documentation or examples of how to use the -i flag to load escaped json from file.
The text was updated successfully, but these errors were encountered:
Can't seem to deal with json with escaped characters.
Have tried
Not sure if I'm missing a special flag but can't see any information in the documentation or examples of how to use the -i flag to load escaped json from file.
The text was updated successfully, but these errors were encountered: