Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>JsonhVscodeNew to Visual Studio Code? Get it now.
JsonhVscode

JsonhVscode

Joyless

|
10 installs
| (0) | Free
Syntax highlighter for JSONH in Visual Studio Code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Visual Studio Marketplace

JSON for Humans.

JSON is great. Until you miss that trailing comma... or want to use comments. What about multiline strings? JSONH provides a much more elegant way to write JSON that's designed for humans rather than machines.

Since JSONH is compatible with JSON, any JSONH syntax can be represented with equivalent JSON.

JsonhVscode

JsonhVscode is a syntax highlighter for JSONH v1 using TextMate Grammars.

Example

Known Issues

Root strings highlighted as property names

In the following example, the string "hello" is incorrectly highlighted as a property name of a braceless root object.

"hello"

Keys with newlines highlighted as invalid after omitted comma

In the following example, the property "\nc": "d" is incorrectly rendered as invalid.

"a": "b"
"
c": "d"

This can be worked around by adding a comma after the first property.

The reason is that property names end at the RegEx ,|(?=^[^:]*:) meaning a comma or the first line containing a colon.

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