.json

4 claimants 4 primary 0 secondary shared primary (4)

SWH popularity

From the SWH-MSR-ARV dataset (Desmazières, Di Cosmo, Lorentz, MSR 2025; file nb_extensions_alphanum.csv) — one row per (ext, year) in the full SWH archive. Case-aggregated. citation.

1.9B
total occurrences
855.9M
since 2019 (45.9%)
1970–2023
years active

Case variants in archive: .json (1.9B), .JSON (1.4M), .Json (10.1K), .jSON (134), .JSon (67), .JsOn (20), .jSon (18), .jsON (8), .jsoN (6), .JSOn (3), .jsOn (1), .jSoN (1) — aggregated above.

Attribution status

This extension is attributed to geojson; JSON; JSON; OASv2-json; OASv2-json; OASv3-json; OASv3-json as primary by 7 authoritative claims.

Authoritative sources: ✓ Linguist ✓ Pygments ✓ Wikidata · Q5533904 ✗ Wikipedia · no claim

Disagree or have a correction? Open a labelling issue.

Claimants (7)

Languages that list .json among their extensions. Strength reflects whether the upstream source treated it as their primary extension.
LanguageSourceStrength
geojsonwikidataprimary
JSONlinguistprimary
JSONpygmentsprimary
OASv2-jsonlinguistprimary
OASv2-jsonpygmentsprimary
OASv3-jsonlinguistprimary
OASv3-jsonpygmentsprimary

Wikidata says… (24)

File formats, image formats, audio codecs and other non-PL entities that claim .json on Wikidata (property P1195) or in the Wikipedia infobox. Source: data/derived/external_extension_index.csv. Click Use as new PL on any row to open the Add-PL form pre-filled with that entry's name, Wikipedia/Wikidata URL, and this extension — one submission creates the PL + claim.
Right entry isn't listed? Add manually ↗
FormatClass (Wikidata P31)Suggested labelMIMENotesAction
JSON Q2063top match
text-based open standard designed for human-readable data interchange
file format; open standardapplication/jsonUse as new PL ↗
Activity Streams Q4677626
file format
file format; W3C Technical Reportapplication/activity+jsonUse as new PL ↗
GeoJSON Q5533904
JSON subset for geospatial data
file format; open file formatapplication/geo+jsonUse as new PL ↗

Disambiguation rules (3)

Linguist heuristics that decide, by content, which language a .json file actually is.
RulePredictsKindPredicates (truncated)
h/linguist/.json/0OASv2-jsonpredicates[{"kind": "any", "regexes": ["\"swagger\":\\s?\"2.[0-9.]+\""]}]
h/linguist/.json/1OASv3-jsonpredicates[{"kind": "any", "regexes": ["\"openapi\":\\s?\"3.[0-9.]+\""]}]
h/linguist/.json/2JSONdefault[]

SWH-mined examples (0)

No archived examples for .json in our local mirror yet.

Need an archived example for this extension?
No verbatim file with extension .json in our local SWH mirror yet. Submit a sample-mining request and a maintainer will run swh_extension_mining.py against the live archive for this extension; samples land here once the run completes.
(or open the pre-filled issue directly)