Files
json/docs
Niels Lohmann efc5e91a55 Merge branch 'develop' into fix/5420-swap-diagnostic-positions
Resolves the modify/delete conflict on
tests/src/unit-class_parser_diagnostic_positions.cpp: develop (#5474)
deleted this file, folding its content into unit-class_parser.cpp
under an #if JSON_DIAGNOSTIC_POSITIONS guard that is recompiled as a
separate CTest binary. Accept that deletion and port this branch's new
TEST_CASE("diagnostic positions: value lifetime") into
unit-class_parser.cpp instead, guarded the same way.

The basic_json::swap() fix in include/nlohmann/json.hpp (and its
single_include copy) merges cleanly with no conflict.

Signed-off-by: Niels Lohmann <mail@nlohmann.me>
2026-09-11 09:50:06 +02:00
..
2025-04-11 10:41:14 +02:00
2025-04-11 10:41:14 +02:00

Documentation

Generate documentation

Note on documentation: The source files contain links to the online documentation at https://json.nlohmann.me.
This URL provides the most recent documentation and also applies to previous versions. Documentation for deprecated functions is not removed; instead, it is marked as deprecated.

If you want to view the documentation for a specific tag or commit hash, you can generate it locally as follows (example using tag v3.10.2):

git clone https://github.com/nlohmann/json.git
cd json
git checkout v3.10.2
make install_venv serve -C docs/mkdocs

Open http://127.0.0.1:8000/ in your browser. Replace any URL in the source code that points to https://json.nlohmann.me with http://127.0.0.1:8000 to view the documentation for the selected tag or commit hash.