nlohmann/json

nlohmann/json has 89,797 source lines of code out of 130,123 total lines across 140 files, counted with tokei from the develop ref at commit 322063822f66 on November 23, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

nlohmann/json: 89,797 code lines at commit 322063822f66, counted with tokei-15.0.0 on 2026-11-23. Saved result ce861b5d49d8a5e887deb6572d642193b5c76fa062df8aa07d0710c4a390f9c6.

Source: nlohmann/json on GitHub · counted commit 322063822f66

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

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 641 code lines per file. C++ Header accounts for 96.4% of counted code.

LanguageFilesLinesCodeCommentsBlanks
C++ Header85122345865922472011033
CMake921941558406230
Python51084790123171
Meson2187169810
Makefile12661457150
Jinja2113812558
Bazel212511906
C++21391022116
Autoconf484611310
TOML1584909
C++ Module173441910
JSON3252500
Swift1221822
Markdown9269202069623
Plain Text146910532159

Top language: C++ Header 96.4%. Generated on .

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.

Reproduce this report

Reproduce this exact report and configuration.

Report FAQ

How many lines of code does nlohmann/json have?

nlohmann/json has 89,797 lines of code, plus 27,989 comment lines and 12,337 blank lines, for 130,123 total lines at commit 322063822f66 on November 23, 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 322063822f66, 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 322063822f66 on November 23, 2026.

Play the growth animation for nlohmann/json on this page — 89,797 code lines across 15 languages, counted by tokei.