.json
4 claimants
4 primary
0 secondary
shared primary (4)
SWH popularity
Distinct files in the full Software Heritage archive (2026-06-04 export), dated by first appearance, following Desmazières, Di Cosmo, Lorentz (MSR 2025). Case-aggregated. citation.
2.9B
total files
1.6B
first seen 2021–2025 (55.9%)
2021
median year (half its files since)
Case variants in archive: .json (2.9B), .JSON (1.6M), .Json (27.8K), .jSON (150), .JSon (70), .JsOn (20), .jSon (19), .jsON (12), .jsoN (9), .JSOn (6), .jSoN (1), .jsOn (1) — aggregated above.
Attribution status
This extension is attributed to geojson; JSON; OASv2-json; OASv3-json as primary by 7 authoritative claims.
Claimants (7)
Languages that list
.json among their extensions. Strength reflects whether the upstream source treated it as their primary extension.| Language | Source | Strength |
|---|---|---|
| geojson | wikidata | primary |
| JSON | linguist | primary |
| JSON | pygments | primary |
| OASv2-json | linguist | primary |
| OASv2-json | pygments | primary |
| OASv3-json | linguist | primary |
| OASv3-json | pygments | primary |
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.
| Format | Class (Wikidata P31) | Suggested label | MIME | Notes | Action |
|---|---|---|---|---|---|
| JSON Q2063top match text-based open standard designed for human-readable data interchange | file format; open standard | — | application/json | — | Use as new PL ↗ |
| Activity Streams Q4677626 file format | file format; W3C Technical Report | — | application/activity+json | — | Use as new PL ↗ |
| GeoJSON Q5533904 JSON subset for geospatial data | file format; open file format | — | application/geo+json | — | Use as new PL ↗ |
Disambiguation rules (3)
Linguist heuristics that decide, by content, which language a
.json file actually is.| Rule | Predicts | Kind | Predicates (truncated) | Measured on SWH |
|---|---|---|---|---|
h/linguist/.json/0 | OASv2-json | predicates | [{"kind": "any", "regexes": ["\"swagger\":\\s?\"2.[0-9.]+\""]}] | |
h/linguist/.json/1 | OASv3-json | predicates | [{"kind": "any", "regexes": ["\"openapi\":\\s?\"3.[0-9.]+\""]}] | |
h/linguist/.json/2 | JSON | default | [] |
SWH-mined examples (0)
No archived examples for .json in our local mirror yet.