Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>NN Json FormatterNew to Visual Studio Code? Get it now.
NN Json Formatter

NN Json Formatter

Arne Moens

|
19 installs
| (0) | Free
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

README

This NN Non-Life extension provides functionalities to beautify, minify, escape, and unescape JSON data or text.

Features

JSON Formatting

  • Beautify JSON: Formats JSON to be more readable.
  • Minify JSON: Removes whitespace from JSON to reduce size.
  • Escape JSON: Escapes special characters in JSON.
  • Unescape JSON: Reverses the escaping of special characters.

Text Formatting

  • Convert To Single Line: Convert the text to one, single line. If in-line comments are present, these will be converted to their enclosed version.

Usage

  • Make a selection of text or valid JSON. If no text or JSON is selected, the entire document will be processed (replaced by the processed result).
  • Right-click in the editor to access commands, or use the following keyboard shortcuts:
    • Beautify JSON: Alt + B
    • Minify JSON: Alt + M
    • Escape JSON: Alt + E
    • Unescape JSON: Alt + U
    • Text To OneLiner: Alt + O

Release Notes

2.1.0

  • New command for converting text to one single line. This will also covert in-line comments to enclosed version.

For a detailed list of changes, see the CHANGELOG.md.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft