From 8ee8bff6614b4d756002055bfdc39dd17c5ef37e Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Tue, 29 Sep 2026 18:28:16 +0200 Subject: [PATCH] Say the library is available as a single header and mention json_fwd.hpp Signed-off-by: Niels Lohmann --- docs/mkdocs/docs/index.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/docs/mkdocs/docs/index.md b/docs/mkdocs/docs/index.md index 7de1d2c0d..091eca5e8 100644 --- a/docs/mkdocs/docs/index.md +++ b/docs/mkdocs/docs/index.md @@ -2,11 +2,13 @@ ![JSON for Modern C++](images/json.gif) -JSON for Modern C++ is a header-only C++11 library that turns JSON into a first-class C++ data type, using the -operator magic of modern C++ so that creating, reading, and modifying JSON values feels as natural as it does in -languages like Python. The whole library is a single header, `json.hpp`, with no dependencies, no subproject, and no -complex build system to set up. It is heavily unit-tested with 100% code coverage, checked with Valgrind and the -Clang Sanitizers for memory leaks, and continuously fuzz-tested by Google OSS-Fuzz. +JSON for Modern C++ is a header-only C++11 library that turns JSON into a first-class C++ data type, using the operator +magic of modern C++ so that creating, reading, and modifying JSON values feels as natural as it does in languages like +Python. The whole library is available as a single header, `json.hpp`, with no dependencies, no subproject, and no +complex build system to set up; a companion header, `json_fwd.hpp`, provides forward declarations to keep compile times +down. See [header-only integration](integration/index.md) for details. It is heavily unit-tested with 100% code +coverage, checked with Valgrind and the Clang Sanitizers for memory leaks, and continuously fuzz-tested by Google +OSS-Fuzz. ## Quick start