# nlohmann/json SLOC report

> As of 2026-10-05 (commit 23d3b373e1a4), nlohmann/json contains 79,669 total lines: 49,688 code, 21,054 comments, 8,927 blank, across 104 files in 14 languages (top: C++ Header 94.7%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

nlohmann/json has 49,688 source lines of code out of 79,669 total lines across 104 files, counted from the develop ref at commit 23d3b373e1a4 by the OctoCounts tokei engine on 2026-10-05. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

OctoCounts produced this report by resolving nlohmann/json to commit 23d3b373e1a4, 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.

## Repository size insights

This is a medium-sized codebase by counted code lines. Code represents 62.4% of all lines, comments represent 26.4%, and the repository averages 478 code lines per file. C++ Header accounts for 94.7% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C++ Header | 56 | 69,670 | 47,051 | 15,115 | 7,504 |
| CMake | 9 | 2,156 | 1,528 | 392 | 236 |
| Python | 4 | 879 | 626 | 116 | 137 |
| Makefile | 1 | 256 | 134 | 71 | 51 |
| C++ | 2 | 139 | 102 | 21 | 16 |
| Bazel | 2 | 93 | 87 | 0 | 6 |
| Jinja2 | 1 | 40 | 36 | 0 | 4 |
| Autoconf | 3 | 42 | 33 | 4 | 5 |
| C++ Module | 1 | 53 | 27 | 17 | 9 |
| JSON | 3 | 25 | 25 | 0 | 0 |
| Meson | 1 | 25 | 21 | 0 | 4 |
| Swift | 1 | 22 | 18 | 2 | 2 |

Top language (C++ Header 94.7%). Generated at 2026-10-05T16:10:17.701481038+00:00. Canonical report: https://octocounts.com/github/nlohmann/json

## Reproduce this report

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

## Report FAQ

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

nlohmann/json has 79,669 total lines, including 49,688 code lines, 21,054 comment lines, and 8,927 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 23d3b373e1a4, 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 23d3b373e1a4 on 2026-10-05T16:10:17.701481038+00:00.

## Similar repository reports

- [axstin/rbxfpsunlocker](https://octocounts.com/github/axstin/rbxfpsunlocker) — C++ Header, 36,768 code lines
- [Slackadays/Clipboard](https://octocounts.com/github/Slackadays/Clipboard) — C++ Header, 35,668 code lines
- [IntelSDM/HuntDMA](https://octocounts.com/github/IntelSDM/HuntDMA) — C++ Header, 27,236 code lines
- [mit-acl/clear](https://octocounts.com/github/mit-acl/clear) — C++ Header, 23,480 code lines
- [vtil-project/VTIL-Core](https://octocounts.com/github/vtil-project/VTIL-Core) — C++ Header, 111,669 code lines
- [jmaczan/tiny-vllm](https://octocounts.com/github/jmaczan/tiny-vllm) — C++ Header, 19,753 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)
- [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)
