← All extensions

JSON5

v0.1.1 · by Chunzheng Wang · added 3 November 2026

JSON5 language support for Zed using Joakker's Tree-sitter grammar.

Languages

How to install

With Forge Super installed, the button above opens the app on this extension, where you press Install. Nothing is installed until you do.

You can also open the Extensions panel in the app and search for JSON5. The extension's id is json5.

Don't have Forge Super yet? Download it here.

README

From the extension's repository, written by its authors and not by Mentenaz. See the source.

JSON5 Language Support for Zed

Adds JSON5 language support to the Zed code editor using tree-sitter-json5.

Features

  • Syntax highlighting for comments, trailing commas, single-quoted strings, unquoted keys, hexadecimal numbers, Infinity, NaN, and other JSON5 syntax
  • Bracket matching and automatic indentation
  • Document outline entries for object properties
  • Comment text objects in Vim mode
  • Automatic activation for .json5 files

Installation

Install JSON5 from Zed's Extensions view (zed: extensions).

To test a development checkout, run zed: install dev extension from the command palette and select this repository.

Development

After changing the grammar revision or Tree-sitter query files, install the repository as a dev extension and open testdata/sample.json5. Check zed: open log if the extension or a query fails to load.

Published releases must increment version in extension.toml. The matching version and submodule commit must then be updated in zed-industries/extensions.

See CHANGELOG.md for release notes.

Credits

This extension uses the tree-sitter-json5 grammar by @Joakker.
All grammar-level credit goes to the original author — this project only integrates it into Zed.

License

MIT