Adopters: Who Uses JSON5

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.

A wall map connecting a json5 document to a phone, a database, a browser build and bot settings

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.

Layers icon

Three Kinds of Adoption

"Supports JSON5" can mean very different things. The labels below are used throughout.

Diagram titled Three Kinds of JSON5 Adoption: native support in Apple Foundation, SQLite, Bun and Dyalog APL; configured in JSON5 for pnpm, Renovate, Tauri and electron-builder; parsed with a JSON5 library by Babel, Next.js, textlint and Expo
LabelMeaningWhat it does not promise
Native supportThe product itself accepts JSON5 through its API, language or editor, with no add-onThat every file the product reads may use it
Config file optionYou can write a particular settings or manifest file in JSON5That other files of the same product accept it
Parser used insideThe code calls a JSON5 library to read something, often a file named .jsonThat 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.

Table icon

Adoption at a Glance

WhoLevelWhat JSON5 is used forSource
Apple FoundationNative supportDecoding and deserializing JSON5 textApple docs
SQLiteNative supportInput to the built-in JSON functionsSQLite docs
BunNative supportImporting .json5 files; Bun.JSON5 APIBun docs
Dyalog APLNative supportA ⎕JSON dialect and .dcfg configuration filesDyalog docs
Altova XMLSpyNative supportEditing documents and validating them against JSON SchemaAltova manual
WebStormNative supportEditing .json5 filesJetBrains help
ParcelNative supportImporting .json5 files into JavaScriptParcel docs
pnpmConfig file optionpackage.json5 manifestpnpm docs
RenovateConfig file optionrenovate.json5 and .renovaterc.json5Renovate docs
TauriConfig file optiontauri.conf.json5, behind a feature flagTauri docs
electron-builderConfig file optionPackaging configurationelectron-builder docs
OpenHarmonyConfig file optionapp.json5, module.json5, oh-package.json5OpenHarmony docs
FuchsiaConfig file option.cml component manifest sources, which are JSON5Fuchsia docs
Chromium (Blink)Config file optionInternal build inputs that generate C++ codeGenerator source
OpenClawConfig file optionIts configuration file, named openclaw.jsonOpenClaw docs
Cloth Config (Minecraft mods)Config file optionMod config files, when a mod picks the Jankson serializerSerializer source
JupyterLabConfig file optionUser settings files written by the settings editorJupyterLab docs
i18next-fs-backendConfig file optionTranslation resource filesREADME
UnJS c12Config file optionA config loader that accepts .json5 filesREADME
BabelParser used insidebabel.config.json, .babelrc, .babelrc.jsonBabel docs
Next.jsParser used insidejsconfig.json, JSON PostCSS configs and JSON Babel configsSource
textlint (via rc-config-loader)Parser used insideJSON and extensionless rc filesLoader README
ESLint JSON plugin, Prettier, webpack, json5formatToolingLinting, formatting and loading .json5 filesESLint plugin README; others below
Rocket icon

Native Support in Platforms and Products

iOS logo

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 logo

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 logo

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

Settings icon

Tools That Let You Configure Them in JSON5

pnpm logo

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 logo

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-json5 feature to both tauri and tauri-build, and Tauri's config parser names the file tauri.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.json5 and each module module.json5; packages are described in oh-package.json5. Build settings live in build-profile.json5 files, 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 the cmc tool during the build. Each file holds a single object, described key by key in the CML reference.
Chrome logo

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 .json5 files 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 the json5 library.
  • i18next-fs-backend: lists .json5 among its translation file formats.
  • c12: the UnJS configuration loader reads .json5 through the confbox package. A framework built on c12 does not necessarily advertise that file name, so check its own docs.
Code icon

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 logo

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 logo

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/json plugin has a json/json5 language and requires ESLint 9.15.0 or later. It is an add-on.
  • Prettier: has a built-in json5 parser, available since 1.13.0.
  • webpack: the asset management guide shows loading .json5 files through a custom parser that calls json5.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 logo

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 rangeDownloads, Nov 22-28
@babel/core 8.1.4^2.2.3249,599,787
tsconfig-paths 4.2.0^2.2.2147,629,681
next 16.4.6Compiled copy inside the package83,733,861
@expo/json-file 11.2.1^2.2.334,182,530
app-builder-lib (electron-builder) 26.18.0^2.2.39,312,265
@parcel/transformer-json 2.16.4^2.2.3983,307
renovate 45.4.02.2.3625,348
@jupyterlab/settingregistry 4.6.6^2.2.3207,036
@pnpm/workspace.project-manifest-reader 1100.1.8^2.2.336,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 json5 range proves a declared dependency in that version only. For loader-utils, the 1.4.2 and 2.0.4 releases depend on json5 while 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 json5
PostgreSQL logo

PostgreSQL: 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.

Test icon

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.

ProbeJSON.parsejsonc-parser defaultjsonc-parser, trailing allowedTypeScript configJSON5
/* comment */NoYesYesYesYes
Trailing commaNoNoYesYesYes
Unquoted keyNoNoNoNoYes
Single-quoted stringNoNoNoNoYes
0x1FNoNoNoYesYes
.5NoNoNoYesYes
+1NoNoNoNoYes
InfinityNoNoNoNoYes
String continued with a backslashNoNoNoYesYes

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 unquoted or 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.

Warning icon

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 elsewhereTreatment here
Next.js uses it for config filesNarrowed to the files shown in source, which do not include tsconfig.json; no .json5 config name
Retool has adopted itLeft out: the README cites a community forum thread, not product documentation
Visual Studio Code supports itLeft out: the built-in JSON extension does not claim .json5, so it needs an extension (see the guide)
ProStyle and older libraries on the wikiLeft out: current behavior was not verified
Chromium means the browser supports itNarrowed 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.

Question icon

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)
  1. The JSON5 Data Interchange Format, 1.0.0
  2. json5/json5 README
  3. json5 wiki: In the Wild
  4. Apple: JSONDecoder.allowsJSON5
  5. Apple: JSONSerialization.ReadingOptions.json5Allowed
  6. swift-foundation: JSONDecoder.swift
  7. SQLite: JSON functions and operators
  8. SQLite release 3.42.0
  9. SQLite release 3.45.0
  10. Bun docs: JSON5
  11. Bun 1.3.7 release post
  12. Dyalog: JSON Convert
  13. Dyalog: configuration files
  14. Altova XMLSpy manual: JSON and JSON5
  15. Altova blog: support for JSON5
  16. WebStorm help: JSON
  17. Parcel docs: JSON
  18. Parcel JSON transformer source
  19. GitHub Linguist languages.yml
  20. VS Code built-in JSON extension manifest
  21. pnpm docs: package.json
  22. npm docs: package.json
  23. Renovate docs: configuration options
  24. Renovate source: lib/util/common.ts
  25. Tauri docs: configuration files
  26. Tauri source: config/parse.rs
  27. electron-builder docs: configuration
  28. OpenHarmony docs: app.json5
  29. OpenHarmony docs: module.json5
  30. OpenHarmony docs: HAR package
  31. Chromium: runtime_enabled_features.json5
  32. Chromium: json5_generator.py
  33. Fuchsia docs: component manifests
  34. Fuchsia: component manifest (.cml) reference
  35. google/json5format
  36. OpenClaw docs: configuration
  37. Cloth Config: JanksonConfigSerializer source
  38. falkreon/Jankson
  39. JupyterLab docs: directories
  40. JupyterLab: settingregistry.ts
  41. i18next-fs-backend README
  42. unjs/c12 README
  43. Babel docs: configuration files
  44. Babel source: configuration.ts
  45. Next.js source: load-jsconfig.ts
  46. Next.js source: find-config.ts
  47. Next.js source: CSS plugins.ts
  48. Next.js source: getTypeScriptConfiguration.ts
  49. Next.js source: loadTsConfig.ts
  50. Next.js source: Babel loader get-config.ts
  51. azu/rc-config-loader README
  52. npm registry: @textlint/config-loader
  53. Expo source: JsonFile.ts
  54. eslint/json README
  55. Prettier docs: parser option
  56. webpack guide: asset management
  57. JSONC specification
  58. microsoft/node-jsonc-parser
  59. npm downloads API: json5, November 22-28, 2026
  60. npm downloads API: json5, October 30 to November 28, 2026
  61. npm registry: @babel/core
  62. npm downloads API: @babel/core
  63. npm registry: tsconfig-paths
  64. npm downloads API: tsconfig-paths
  65. npm registry: next
  66. npm downloads API: next
  67. npm registry: @expo/json-file
  68. npm downloads API: @expo/json-file
  69. npm registry: app-builder-lib
  70. npm downloads API: app-builder-lib
  71. npm registry: @parcel/transformer-json
  72. npm downloads API: @parcel/transformer-json
  73. npm registry: renovate
  74. npm downloads API: renovate
  75. npm registry: @jupyterlab/settingregistry
  76. npm downloads API: @jupyterlab/settingregistry
  77. npm registry: @pnpm/workspace.project-manifest-reader
  78. npm downloads API: @pnpm/workspace.project-manifest-reader
  79. npm registry: loader-utils
  80. NVD: CVE-2022-46175
  81. PostgreSQL commitfest: Proposal: JSON5 support in the JSON parsers (patch 7021)
  82. pgsql-hackers thread: Proposal: JSON5 support in the JSON parsers

Last reviewed: November 29, 2026.