Features
Convert JSON to JavaScript Object, recursively!
e.g.
{
"key": "value",
"key2": "{ \"innerKey\": \"value\" }"
}
The above is a valid JSON object.
However, the value of key2 is a JSON string.
This extension will convert the above to the below:
{
"key": "value",
"key2": {
"innerKey": "value"
}
}
parse selected text
now you can parse selected text.
The extension does this recursively, regardless the depth of your JSON string.
How to use
- Install the extension
- Focus on your document
- Paste your JSON string in the document
- Issue JSON: parse recursevely command, it will select all text in the document and convert it to JavaScript object
On Mac, the issue command instructions are: command + shift + p, JSON: parse recursevely
On Windows, the issue command instructions are: ctrl + shift + p, JSON: parse recursevely
| |