It's for converting all JSON strings in JSON to JSON Object or JSON Array.
etc.
{
"json": {
"json-object": {
"p1": "p1-data"
},
"json-array-string": "[ \"data1\", \"data2\" ]",
"json-object-string": "{ \"param1\": \"1\", \"param2\": \"2\" }"
}
}
It can be converted to this:
{
"json": {
"json-object": {
"p1": "p1-data"
},
"json-array-string": [
"data1",
"data2"
],
"json-object-string": {
"param1": "1",
"param2": "2"
}
}
}
yarn run pkg-unescape-json
yarn run unescape-json