Preparing for system design interviews?  Try bugzed.com →

Lezer JSON5 Parser

JSON →
library 2.0.2 ·javascript maintenance
verified Jun 17, 2026

lezer-json5 is a Lezer grammar designed for parsing JSON5 (JavaScript Object Notation, Fifth Edition) syntax. JSON5 extends standard JSON by adding features like comments, unquoted object keys, trailing commas, and single-quoted strings, making configuration files more human-readable. This package, currently at version 2.0.2, integrates seamlessly with CodeMirror 6, providing robust syntax highlighting and language-aware editing capabilities for JSON5 documents. While the package was last published three years ago, it remains a stable and functional solution for JSON5 parsing within the Lezer/CodeMirror ecosystem, leveraging principles from the official Lezer JavaScript grammar. Its slow release cadence suggests a mature grammar that is unlikely to require frequent updates unless core Lezer APIs or the JSON5 specification undergo significant changes. It differentiates itself by offering incremental parsing specific to the JSON5 specification, which is crucial for performance in large editor instances.

total hits 10
actors 4 distinct systems
last hit 18d ago AhrefsBot
GPTBot
4
Script
1
Search engines
1
Humans
1

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇨🇳 China · 🇩🇪 Germany