Adopters: Who Uses
Platforms, tools and projects that read it, graded by how directly they do, with sources.
JSON5 shows up in operating system APIs, a database engine, JavaScript runtimes, mobile app build files, bots and editors. Those are not the same kind of adoption, so this page separates native support, an optional config file and a parser used behind the scenes.
Every entry links to documentation or source checked on November 29, 2026. Download figures come from the npm registry API the same day. A short test file further down shows how to prove what a tool accepts.
TL;DR: Apple Foundation, SQLite, Bun and Dyalog APL accept JSON5 natively. pnpm, Renovate, Tauri, electron-builder and OpenHarmony apps can be configured with it. Babel and Next.js parse certain JSON-named files with a JSON5 parser. The npm package json5 had 303,643,299 downloads from November 22 to 28, 2026, mostly a sign of how many tools depend on it.
Three Kinds of Adoption
"Supports JSON5" can mean very different things. The labels below are used throughout.
| Label | Meaning | What it does not promise |
|---|---|---|
| Native support | The product itself accepts JSON5 through its API, language or editor, with no add-on | That every file the product reads may use it |
| Config file option | You can write a particular settings or manifest file in JSON5 | That other files of the same product accept it |
| Parser used inside | The code calls a JSON5 library to read something, often a file named .json | That this is a supported, stable feature you should rely on |
A package listing json5 in its dependencies proves only that the library is installed, not which files go through it. Where this page says what is parsed, that comes from documentation or the source file linked. The community "In the Wild" wiki page and the project README were used as leads, then checked against each project.
Adoption at a Glance
| Who | Level | What JSON5 is used for | Source |
|---|---|---|---|
| Apple Foundation | Native support | Decoding and deserializing JSON5 text | Apple docs |
| SQLite | Native support | Input to the built-in JSON functions | SQLite docs |
| Bun | Native support | Importing .json5 files; Bun.JSON5 API | Bun docs |
| Dyalog APL | Native support | A ⎕JSON dialect and .dcfg configuration files | Dyalog docs |
| Altova XMLSpy | Native support | Editing documents and validating them against JSON Schema | Altova manual |
| WebStorm | Native support | Editing .json5 files | JetBrains help |
| Parcel | Native support | Importing .json5 files into JavaScript | Parcel docs |
| pnpm | Config file option | package.json5 manifest | pnpm docs |
| Renovate | Config file option | renovate.json5 and .renovaterc.json5 | Renovate docs |
| Tauri | Config file option | tauri.conf.json5, behind a feature flag | Tauri docs |
| electron-builder | Config file option | Packaging configuration | electron-builder docs |
| OpenHarmony | Config file option | app.json5, module.json5, oh-package.json5 | OpenHarmony docs |
| Fuchsia | Config file option | .cml component manifest sources, which are JSON5 | Fuchsia docs |
| Chromium (Blink) | Config file option | Internal build inputs that generate C++ code | Generator source |
| OpenClaw | Config file option | Its configuration file, named openclaw.json | OpenClaw docs |
| Cloth Config (Minecraft mods) | Config file option | Mod config files, when a mod picks the Jankson serializer | Serializer source |
| JupyterLab | Config file option | User settings files written by the settings editor | JupyterLab docs |
| i18next-fs-backend | Config file option | Translation resource files | README |
| UnJS c12 | Config file option | A config loader that accepts .json5 files | README |
| Babel | Parser used inside | babel.config.json, .babelrc, .babelrc.json | Babel docs |
| Next.js | Parser used inside | jsconfig.json, JSON PostCSS configs and JSON Babel configs | Source |
| textlint (via rc-config-loader) | Parser used inside | JSON and extensionless rc files | Loader README |
| ESLint JSON plugin, Prettier, webpack, json5format | Tooling | Linting, formatting and loading .json5 files | ESLint plugin README; others below |
Native Support in Platforms and Products

Apple Foundation
Foundation has two switches: JSONDecoder.allowsJSON5 and the JSONSerialization reading option json5Allowed. Apple lists both as available from iOS 15, iPadOS 15, Mac Catalyst 15, macOS 12, tvOS 15, watchOS 8 and visionOS 1. Support is opt-in, so a decoder with default settings still expects standard JSON. Apple also notes that the custom attribute syntax in AttributedString Markdown, the part inside the parentheses, is JSON5. In the open source swift-foundation decoder, JSON5 goes through a separate scanner so ordinary JSON decoding keeps its speed.
let decoder = JSONDecoder()
decoder.allowsJSON5 = true
let settings = try decoder.decode(Settings.self, from: data)
SQLite
Since version 3.42.0 (May 16, 2023), the JSON functions read JSON5. Text they generate is always standard JSON, so json() doubles as a converter. json_valid(X) with no flag still returns false for JSON5-only syntax; pass 2 as a second argument to test for it. That argument arrived later, in version 3.45.0 (January 15, 2024). json_error_position() returns 0 for text it can read, JSON5 included, and otherwise the position of the first syntax error.
SELECT json_valid('{half: .5}'); -- 0
SELECT json_valid('{half: .5}', 2); -- 1
SELECT json('{half: .5, list: [1,],}'); -- {"half":0.5,"list":[1]}SQLite documents its own deviations. It allows more characters in unquoted keys, accepts Inf, QNaN and SNaN in any letter case, treats the NaN spellings as null, and rejects +NaN and -NaN. In tests on SQLite 3.50.4 and 3.53.4, json('{a:Infinity}') returned {"a":9e999}.
Bun
Bun 1.3.7, released in January 2026, added Bun.JSON5.parse(), Bun.JSON5.stringify() and direct imports of .json5 files. According to the Bun documentation, its parser passes the whole official JSON5 test suite, and bun build parses imported files at build time. That conformance figure is the vendor's claim; it was not re-run for this page.
Dyalog APL
The ⎕JSON system function has a Dialect option, 'JSON' by default or 'JSON5', which enables the extensions on both import and export. Dyalog's configuration files (.dcfg) are defined using JSON5 syntax.
Editors and bundlers
- Altova XMLSpy: the manual says features available for JSON instance documents are also available for JSON5 ones, that
.json5files are treated as JSON5, and that they can be validated against JSON Schema. Altova announced support across several products in June 2017. - WebStorm: recognizes JSON5 and by default treats the
.json5extension that way. See the JetBrains guide. - Parcel: imports JSON and JSON5 out of the box. Its JSON transformer calls the
json5library and emits ordinary JavaScript. - GitHub: the Linguist library that classifies repository files lists JSON5 as a data language. That covers recognition and highlighting only.
Tools That Let You Configure Them in JSON5

pnpm
pnpm accepts package.json5 (and package.yaml) as a project manifest. npm itself requires package.json to be actual JSON, so a project that adopts the JSON5 manifest ties its contributors to tools that read it.

Renovate
Renovate searches for renovate.json5, copies under .github/ and .gitlab/, and .renovaterc.json5, alongside JSON and JSONC names. Its documentation recommends .jsonc if you want comments, and warns that its automated config migration can turn JSON5 into plain JSON and remove comments. In the parsing code, a file whose name ends in neither .jsonc nor .json5 is read as JSONC first; if that fails but a JSON5 parse succeeds, it is accepted with a warning that this fallback will be removed.
Desktop and mobile app builds
- Tauri: JSON is the default. The configuration guide shows adding the
config-json5feature to bothtauriandtauri-build, and Tauri's config parser names the filetauri.conf.json5. - electron-builder: its configuration docs list JSON5 beside YAML, JSON, TOML and JavaScript or TypeScript formats, selectable with
--config. - OpenHarmony: each project must contain
app.json5and each modulemodule.json5; packages are described inoh-package.json5. Build settings live inbuild-profile.json5files, which the same documentation refers to. Here the format is part of the platform's project layout, not an alternative. - Fuchsia: Google's operating system describes software components in component manifest language (CML). Its documentation says CML files are JSON5 files ending in
.cml, compiled to a binary manifest by thecmctool during the build. Each file holds a single object, described key by key in the CML reference.

Chromium
Blink, Chromium's rendering engine, keeps lists such as runtime_enabled_features.json5 as commented JSON5. A generic generator script, written in Python and importing a json5 module, turns such files into code during the build. This is use inside the Chromium source tree. It is not a feature of the Chrome browser: web pages still get only JSON.parse.
Apps and libraries
- OpenClaw: reads an optional JSON5 configuration from
~/.openclaw/openclaw.json. - Cloth Config: its Jankson serializer writes
.json5files into the game's config folder. Jankson supports JSON5 syntax plus several Hjson features, and mods may choose a different serializer. - JupyterLab: the settings editor creates JSON5 files named like
plugin_name.jupyterlab-settings, and the settings registry parses them with thejson5library. - i18next-fs-backend: lists
.json5among its translation file formats. - c12: the UnJS configuration loader reads
.json5through theconfboxpackage. A framework built on c12 does not necessarily advertise that file name, so check its own docs.
Tools That Parse With a JSON5 Library
These tools do not ask you to name a file .json5. They use a JSON5 parser so that comments or other relaxed syntax work in files they already read.

Babel
The Babel documentation says babel.config.json and .babelrc.json are parsed as JSON5, supported since version 7.7.0. In the loader source, every config extension other than the JavaScript and TypeScript ones goes to the JSON5 reader, which covers a bare .babelrc. The list of file names searched has no .json5 variant. See the Babel guide.

Next.js
The community wiki marks this one with a question mark, so it was checked in source on the canary branch. parseJsonFile reads jsconfig.json with a bundled JSON5 parser. tsconfig.json does not take that path: it goes through the TypeScript tooling, and a separate helper that reads path aliases uses the comment-json library. The config finder parses JSON config files with the JSON5 parser, and the webpack CSS setup uses that finder for PostCSS (.postcssrc.json, postcss.config.json). The Babel loader does the same for .babelrc and JSON Babel configs. None of this makes next.config.json5 a supported file. See the Next.js guide.
textlint and Expo
rc-config-loader documents that it reads .json rc files as JSON5. The current @textlint/config-loader package depends on it. Expo's @expo/json-file depends on json5 and offers a json5 option that is off by default, so installing it does not mean Expo reads every file that way.
Linting, formatting and bundling
- ESLint: the official
@eslint/jsonplugin has ajson/json5language and requires ESLint 9.15.0 or later. It is an add-on. - Prettier: has a built-in
json5parser, available since 1.13.0. - webpack: the asset management guide shows loading
.json5files through a custom parser that callsjson5.parse. You install and configure it. - json5format: Google publishes this Rust library for formatting JSON5 while preserving line and block comments, with an example command line tool called
formatjson5.
The configuration guides cover more tools, including the many that accept only JSON or JSONC.
npm Download Figures
The npm registry API reports 303,643,299 downloads of the json5 package for November 22 to 28, 2026, and 1,349,688,415 for October 30 to November 28. The project README cites more than 65 million a week as of 2022.
The table shows packages that bring in a JSON5 parser, with the version of the parent that was latest on November 29, 2026. Weekly downloads belong to the parent package across all its versions. The download links use fixed date ranges, so they keep pointing at the same period.
| Package (version checked) | Declared json5 range | Downloads, Nov 22-28 |
|---|---|---|
@babel/core 8.1.4 | ^2.2.3 | 249,599,787 |
tsconfig-paths 4.2.0 | ^2.2.2 | 147,629,681 |
next 16.4.6 | Compiled copy inside the package | 83,733,861 |
@expo/json-file 11.2.1 | ^2.2.3 | 34,182,530 |
app-builder-lib (electron-builder) 26.18.0 | ^2.2.3 | 9,312,265 |
@parcel/transformer-json 2.16.4 | ^2.2.3 | 983,307 |
renovate 45.4.0 | 2.2.3 | 625,348 |
@jupyterlab/settingregistry 4.6.6 | ^2.2.3 | 207,036 |
@pnpm/workspace.project-manifest-reader 1100.1.8 | ^2.2.3 | 36,975 |
- A download is not a user. Continuous integration, mirrors and repeated installs all count.
- The rows overlap, and one install of a project may pull several of them, so do not add them up.
- The
json5range proves a declared dependency in that version only. Forloader-utils, the 1.4.2 and 2.0.4 releases depend onjson5while 3.3.1 does not. - Non-JavaScript use, such as Apple Foundation or SQLite, never appears in npm figures.
To find out why json5 is in your own project, ask npm. Update old copies: versions before 1.0.2, and 2.0.0 up to 2.2.1, are affected by CVE-2022-46175, covered in the security guide.
npm ls json5
npm explain json5PostgreSQL: A Proposal, Not a Feature
PostgreSQL does not accept JSON5 today. There is a proposal to change that: "Proposal: JSON5 support in the JSON parsers", sent to the pgsql-hackers mailing list by Zsolt Parragi on 07-14-2026. A second version (v2) followed on 10-01-2026.
The author describes a series of eight patches that add one JSON5 feature at a time to the JSON lexer and parser: comments, trailing commas, unquoted keys, single-quoted strings, number extensions (hexadecimal, Infinity, NaN), and multi-line strings. The last code patch adds a separate json5 SQL data type with casts to json and jsonb, and the thread says that patch can be skipped. The thread does not describe a change to how the existing json and jsonb types parse standard JSON.
On the commitfest entry (patch 7021), the status read "Needs review" in the PG20-3 commitfest when we checked on 12-01-2026. Tristan Partin is listed as reviewer, and no committer is listed. This is a proposal under discussion. It is not in any PostgreSQL release.
Does a Tool Accept JSON5 or Only JSONC?
JSONC means JSON with comments. The JSONC specification adds comments, says parsers may support trailing commas, and recommends the .jsonc extension. Unquoted keys, single quotes and hexadecimal numbers are JSON5 territory. A file with comments that loads fine tells you very little.
Results from real parsers
Each probe below was a one-line input, run locally with the JSON5 library 2.2.3, Microsoft's jsonc-parser 3.3.1 (trailing commas disallowed, its default, and then allowed), the TypeScript 5.9.3 config parser and JSON.parse. Compiling a tsconfig.json containing each probe with tsc 5.9.3, 6.0.3 and 7.0.2 gave the same accept or reject result.
| Probe | JSON.parse | jsonc-parser default | jsonc-parser, trailing allowed | TypeScript config | JSON5 |
|---|---|---|---|---|---|
/* comment */ | |||||
| Trailing comma | |||||
| Unquoted key | |||||
| Single-quoted string | |||||
0x1F | |||||
.5 | |||||
+1 | |||||
Infinity | |||||
| String continued with a backslash |
The TypeScript column is the warning here. Its config parser let hex numbers, a leading decimal point and line continuations through while rejecting unquoted keys, single quotes, a plus sign and Infinity. A single probe can therefore mislead you; use several. These are parser results for those versions, not a promise about every tool that reads tsconfig.json.
A canary file
Put this in the file the tool reads, adapted to keys it will tolerate, and change a value so you can see that it took effect:
{
// 1: comment
unquoted: 'single',
hex: 0x10,
half: .5,
plus: +1,
}- It loads and the values apply: the file goes through JSON5 or something at least as lenient.
- It fails on
unquotedor the single quotes: treat the tool as JSON or JSONC. - It "loads" but nothing changes: the tool may have skipped the file or swallowed the error. Check logs, and confirm the file name is one it searches.
- It also accepts things outside JSON5 (backticks,
#comments, missing commas): the parser is a different relaxed format. Keep to standard JSON5 so the file stays portable.
Then confirm in this order: the documentation names JSON5 (not just "comments allowed"); the source or lockfile shows which parser reads that exact file; the test passes on the version you ship. For SQLite 3.45.0 or later, the test is one query: SELECT json_valid(?, 2). Validate the canary itself first with the online validator.
The specification allows a parser to accept forms beyond JSON5. SQLite does, and so does Jankson. "My tool loaded it" does not prove the file is valid JSON5.
Claims Left Out or Narrowed
Adoption lists tend to grow by copying each other. This is what did not make the table as commonly stated.
| Claim seen elsewhere | Treatment here |
|---|---|
| Next.js uses it for config files | Narrowed to the files shown in source, which do not include tsconfig.json; no .json5 config name |
| Retool has adopted it | Left out: the README cites a community forum thread, not product documentation |
| Visual Studio Code supports it | Left out: the built-in JSON extension does not claim .json5, so it needs an extension (see the guide) |
| ProStyle and older libraries on the wiki | Left out: current behavior was not verified |
| Chromium means the browser supports it | Narrowed to build files in the source tree |
Absence from this page is not proof that a project does not use JSON5. For parsers by language, see the implementations directory; for the format's formal position, see standards status.
Choosing it for your own project
Much of the table is configuration that people edit by hand, and several platforms that accept JSON5 still default to strict JSON: SQLite always writes it, Tauri's default format is JSON, and Dyalog's default dialect is 'JSON'. Adopt JSON5 for files people maintain, keep strict JSON for data exchange, and check that every tool in the chain reads the file. Why use it and the format comparison go further.
Common questions
Do web browsers parse JSON5?
No built-in browser function does. Use a library, as the JavaScript guide shows.
Does Node.js support it natively?
Add the json5 package; JSON.parse accepts standard JSON only. The Node.js guide covers loading files.
Is tsconfig.json a JSON5 file?
Not as a format. It tolerates comments and trailing commas, and the table above shows TypeScript 5.9.3 rejecting unquoted keys and single quotes. Other tools may read it with their own parser, so test the exact tool. See the tsconfig guide.
Why are the download numbers so high?
The package sits deep in common JavaScript build chains, so it is installed even by people who never write a JSON5 file.
Can I assume a tool will keep supporting it?
No. Support can be narrowed, as the Renovate fallback warning for mislabeled files shows. Rely on documented file names and test after upgrades.
Sources
(82)
- The JSON5 Data Interchange Format, 1.0.0
- json5/json5 README
- json5 wiki: In the Wild
- Apple: JSONDecoder.allowsJSON5
- Apple: JSONSerialization.ReadingOptions.json5Allowed
- swift-foundation: JSONDecoder.swift
- SQLite: JSON functions and operators
- SQLite release 3.42.0
- SQLite release 3.45.0
- Bun docs: JSON5
- Bun 1.3.7 release post
- Dyalog: JSON Convert
- Dyalog: configuration files
- Altova XMLSpy manual: JSON and JSON5
- Altova blog: support for JSON5
- WebStorm help: JSON
- Parcel docs: JSON
- Parcel JSON transformer source
- GitHub Linguist languages.yml
- VS Code built-in JSON extension manifest
- pnpm docs: package.json
- npm docs: package.json
- Renovate docs: configuration options
- Renovate source: lib/util/common.ts
- Tauri docs: configuration files
- Tauri source: config/parse.rs
- electron-builder docs: configuration
- OpenHarmony docs: app.json5
- OpenHarmony docs: module.json5
- OpenHarmony docs: HAR package
- Chromium: runtime_enabled_features.json5
- Chromium: json5_generator.py
- Fuchsia docs: component manifests
- Fuchsia: component manifest (.cml) reference
- google/json5format
- OpenClaw docs: configuration
- Cloth Config: JanksonConfigSerializer source
- falkreon/Jankson
- JupyterLab docs: directories
- JupyterLab: settingregistry.ts
- i18next-fs-backend README
- unjs/c12 README
- Babel docs: configuration files
- Babel source: configuration.ts
- Next.js source: load-jsconfig.ts
- Next.js source: find-config.ts
- Next.js source: CSS plugins.ts
- Next.js source: getTypeScriptConfiguration.ts
- Next.js source: loadTsConfig.ts
- Next.js source: Babel loader get-config.ts
- azu/rc-config-loader README
- npm registry: @textlint/config-loader
- Expo source: JsonFile.ts
- eslint/json README
- Prettier docs: parser option
- webpack guide: asset management
- JSONC specification
- microsoft/node-jsonc-parser
- npm downloads API: json5, November 22-28, 2026
- npm downloads API: json5, October 30 to November 28, 2026
- npm registry: @babel/core
- npm downloads API: @babel/core
- npm registry: tsconfig-paths
- npm downloads API: tsconfig-paths
- npm registry: next
- npm downloads API: next
- npm registry: @expo/json-file
- npm downloads API: @expo/json-file
- npm registry: app-builder-lib
- npm downloads API: app-builder-lib
- npm registry: @parcel/transformer-json
- npm downloads API: @parcel/transformer-json
- npm registry: renovate
- npm downloads API: renovate
- npm registry: @jupyterlab/settingregistry
- npm downloads API: @jupyterlab/settingregistry
- npm registry: @pnpm/workspace.project-manifest-reader
- npm downloads API: @pnpm/workspace.project-manifest-reader
- npm registry: loader-utils
- NVD: CVE-2022-46175
- PostgreSQL commitfest: Proposal: JSON5 support in the JSON parsers (patch 7021)
- pgsql-hackers thread: Proposal: JSON5 support in the JSON parsers
Last reviewed: November 29, 2026.
JavaScript
Python
TypeScript
Node.js
Rust
Java
C#
Ruby
Kotlin
Lua
Vite
webpack
ESLint
Prettier
VS Code
JetBrains 
