Skip to content

kkostov/JSON-EscapeUnescape.novaextension

Repository files navigation

JSON Escape Unescape provides a way to escape and unescape a JSON document.

Usage

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 document
    • JSON Unescape to unescape the contents of the current document

JSON Escape

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.

JSON Unescape

Unescape converts a string value into a JSON object by attempting to parse it.

Installation

This is an extension for the Nova editor by Panic. It's available from Extensions > Extension Library or directly from here.