# nlohmann/json SLOC report

> nlohmann/json: 89,569 code lines at commit abbc29963a3f, counted with tokei-15.0.0 on 2026-11-15. Saved result f8989c69463880fd7359bbae65a13c91b75b7c9856a3815b7dcaa6366b58abb2.

nlohmann/json has 89,569 source lines of code out of 129,774 total lines across 140 files, counted with tokei from the develop ref at commit abbc29963a3f on November 15, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving nlohmann/json to commit abbc29963a3f, downloading the repository source archive, and counting files selected by the effective rules with tokei, the open-source line counter written in Rust. The table below breaks the count down by programming language into files, total lines, code lines, comment lines, and blank lines, so the figures can be compared across languages and projects. Results are cached by commit, tokei version, and analysis options; an exact reproduction needs the same commit, engine version, and effective counting rules.

## Counting rules and retention

nlohmann/json: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.

Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.

## Repository size insights

This is a medium-sized codebase by counted code lines. Code represents 69.0% of all lines, comments represent 21.5%, and the repository averages 640 code lines per file. C++ Header accounts for 96.4% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C++ Header | 85 | 121,955 | 86,334 | 24,610 | 11,011 |
| CMake | 9 | 2,237 | 1,588 | 409 | 240 |
| Python | 5 | 1,084 | 790 | 123 | 171 |
| Meson | 2 | 187 | 169 | 8 | 10 |
| Makefile | 1 | 266 | 145 | 71 | 50 |
| Jinja2 | 1 | 138 | 125 | 5 | 8 |
| Bazel | 2 | 125 | 119 | 0 | 6 |
| C++ | 2 | 139 | 102 | 21 | 16 |
| Autoconf | 4 | 84 | 61 | 13 | 10 |
| TOML | 1 | 58 | 49 | 0 | 9 |
| C++ Module | 1 | 73 | 44 | 19 | 10 |
| JSON | 3 | 25 | 25 | 0 | 0 |
| Swift | 1 | 22 | 18 | 2 | 2 |
| Markdown | 9 | 2,690 | 0 | 2,067 | 623 |
| Plain Text | 14 | 691 | 0 | 532 | 159 |

Top language: C++ Header 96.4%. Generated on November 15, 2026. Canonical report: https://octocounts.com/github/nlohmann/json/commit/abbc29963a3fa7652127a57a9e2a4494ec5b8a6e?reportId=f8989c69463880fd7359bbae65a13c91b75b7c9856a3815b7dcaa6366b58abb2&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/nlohmann/json/commit/abbc29963a3fa7652127a57a9e2a4494ec5b8a6e?reportId=f8989c69463880fd7359bbae65a13c91b75b7c9856a3815b7dcaa6366b58abb2&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does nlohmann/json have?

nlohmann/json has 89,569 lines of code, plus 27,880 comment lines and 12,325 blank lines, for 129,774 total lines at commit abbc29963a3f on November 15, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the nlohmann/json line count measured?

OctoCounts resolved the public GitHub repository to commit abbc29963a3f, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

### What commit was counted for nlohmann/json?

This OctoCounts report was generated from develop at commit abbc29963a3f on November 15, 2026.

## Similar repository reports

- [jfalcou/eve](https://octocounts.com/github/jfalcou/eve) — C++ Header, 98,160 code lines
- [seanbaxter/circle](https://octocounts.com/github/seanbaxter/circle) — C++ Header, 99,790 code lines
- [skypjack/entt](https://octocounts.com/github/skypjack/entt) — C++ Header, 73,913 code lines
- [nayutalienx/cursor-trail](https://octocounts.com/github/nayutalienx/cursor-trail) — C++ Header, 71,851 code lines
- [vtil-project/VTIL-Core](https://octocounts.com/github/vtil-project/VTIL-Core) — C++ Header, 111,669 code lines
- [ZeusYang/Aurora](https://octocounts.com/github/ZeusYang/Aurora) — C++ Header, 67,078 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [nlohmann/json vs RapidJSON](https://octocounts.com/compare/nlohmann-json-vs-rapidjson)
- [How to count lines of code in a GitHub repository](https://octocounts.com/docs/count-lines-of-code-github)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
- [All OctoCounts guides](https://octocounts.com/docs)
