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
I am working in a project from hell that it has a huge redux store and I have tried to copy the copy the store content from Raw to parse with jq, but it fails because the json from Raw is not a correct json.
# Add the double quotes for the json keys
$ sed -E 's/^(\s*)([a-zA-Z0-9_$]+):/\1"\2":/' zzzz.json -i
# Replace single quotes for the strings
sed "s/'/\"/g" zzzz.json -i
I am working in a project from hell that it has a huge redux store and I have tried to copy the copy the store content from Raw to parse with jq, but it fails because the json from Raw is not a correct json.
This is a chunk of my huge redux store:
And you can see the key for the first branches of json is without double quotes, or the strings have a single quote instead the double quote.
The text was updated successfully, but these errors were encountered: