JSON Escape Unescape provides a way to escape and unescape a JSON document.
To run JSON Escape Unescape:
- Select the Editor → JSON Escape Unescape menu item; or
- Open the command palette and type one of the following commands:
JSON Escape
to escape the contents of the current documentJSON Unescape
to unescape the contents of the current document
Escaping JSON converts a json object into a string by replacing all occurrences of a forward slash /
. In addition, the process also removes line and paragraph breaks.
Unescape converts a string value into a JSON object by attempting to parse it.
This is an extension for the Nova editor by Panic. It's available from Extensions > Extension Library or directly from here.