As of 2026-09-08 (commit 7b2d73cf2e44), nlohmann/json contains 63,626 total lines: 40,672 code, 15,310 comments, 7,644 blank, across 94 files in 14 languages (top: C++ Header 94.2%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving nlohmann/json to commit 7b2d73cf2e44, downloading the repository source archive, and counting every source file 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, so counting the same revision again reproduces exactly these numbers.
This is a medium-sized codebase by counted code lines. Code represents 63.9% of all lines, comments represent 24.1%, and the repository averages 433 code lines per file. C++ Header accounts for 94.2% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C++ Header | 49 | 54257 | 38330 | 9648 | 6279 |
| CMake | 8 | 1830 | 1339 | 284 | 207 |
| Python | 4 | 791 | 568 | 99 | 124 |
| Makefile | 1 | 266 | 148 | 62 | 56 |
| Bazel | 2 | 87 | 81 | 0 | 6 |
| C++ | 2 | 74 | 57 | 6 | 11 |
| Jinja2 | 1 | 40 | 36 | 0 | 4 |
| Autoconf | 3 | 42 | 33 | 4 | 5 |
| C++ Module | 1 | 52 | 26 | 17 | 9 |
| Meson | 1 | 24 | 20 | 0 | 4 |
| Swift | 1 | 22 | 18 | 2 | 2 |
| JSON | 2 | 16 | 16 | 0 | 0 |
Top language (C++ Header 94.2%). Generated at 2026-09-08T03:41:56.811200468+00:00.
nlohmann/json has 63,626 total lines, including 40,672 code lines, 15,310 comment lines, and 7,644 blank lines.
OctoCounts resolved the public GitHub repository to commit 7b2d73cf2e44, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
This OctoCounts report was generated from 7b2d73cf2e443adbe7903754f912ed95b42504f1 at commit 7b2d73cf2e44 on 2026-09-08T03:41:56.811200468+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: