Files
json/docs
Niels Lohmann 97f3e1b9a5 Merge branch 'develop' into claude/basic-json-template-assumptions-tyc76m
develop rewrote serializer.hpp's dump() to be iterative (indent_string /
o->write_characters() replaced by put_indent()/put_literal()/dump_internal()/
dump_iteratively()), which conflicted with this branch's now-superseded hunks
touching the old recursive-descent code. Resolved by taking develop's
iterative implementation throughout.

The one substantive conflict was in binary-value dumping: this branch's
to_byte_value() cast a binary byte to std::uint8_t before dumping so that a
BinaryType whose value_type isn't uint8_t (e.g. std::byte) still dumps
correctly, while develop's dump_byte() dispatcher lost that cast in its
false_type (not-already-uint8_t) overload. Ported the to_byte_value() cast
into that overload so both the recursive and iterative binary-dump call sites
convert exotic BinaryTypes correctly.

Signed-off-by: Niels Lohmann <mail@nlohmann.me>
2026-09-11 09:52:41 +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.