Niels Lohmann
6c773bc883
Merge branch 'json-view/13-view-dump' into json-view/16-view-simd
...
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
2026-10-10 12:51:03 +02:00
Niels Lohmann
6e0f054d18
Merge branch 'json-view/11-view-access' into json-view/13-view-dump
...
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
2026-10-10 12:51:01 +02:00
Niels Lohmann
72a61f0f16
Merge branch 'json-view/08-view-builder' into json-view/11-view-access
...
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
2026-10-10 12:50:58 +02:00
Niels Lohmann
d7299cc423
Merge branch 'json-view/23-zmij' into json-view/08-view-builder
...
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
2026-10-10 12:50:56 +02:00
Niels Lohmann
e83e547b71
Merge branch 'json-view/02b-float-parser' into json-view/23-zmij
...
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
2026-10-10 12:50:45 +02:00
Niels Lohmann
a8bbc365d5
Merge branch 'develop' into json-view/02b-float-parser
...
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
2026-10-10 12:50:34 +02:00
Niels Lohmann
4bc402ecc1
Merge branch 'json-view/13-view-dump' into json-view/16-view-simd
...
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
2026-10-10 12:47:10 +02:00
Niels Lohmann
f4c1211251
Merge branch 'json-view/11-view-access' into json-view/13-view-dump
...
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
2026-10-10 12:47:08 +02:00
Niels Lohmann
a2c9c260ad
Merge branch 'json-view/08-view-builder' into json-view/11-view-access
...
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
2026-10-10 12:47:05 +02:00
Niels Lohmann
75472d6e40
Trigger a new mergeability check of the json_view pull requests
...
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
2026-10-10 12:47:03 +02:00
Niels Lohmann
6dd4323006
Merge branch 'json-view/13-view-dump' into json-view/16-view-simd
...
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
2026-10-10 12:12:52 +02:00
Niels Lohmann
5be292e0ae
Merge branch 'json-view/11-view-access' into json-view/13-view-dump
...
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
2026-10-10 12:12:49 +02:00
Niels Lohmann
fb9be5de2f
Merge branch 'json-view/08-view-builder' into json-view/11-view-access
...
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
2026-10-10 12:12:47 +02:00
Niels Lohmann
fcdf945eee
Check the steps of the deep-nesting test separately
...
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
2026-10-10 12:12:37 +02:00
Niels Lohmann
07ec1a4e31
Generate the docset index and pages with Python ( #5799 )
...
Replace the hand-maintained docs/docset/docSet.sql and the bash/sed
Makefile recipe with docs/docset/generate_docset.py:
- The search index is generated from the mkdocs.yml nav and each page's
H1 and declaration. Pages documenting several entities (e.g.
JSON_HAS_CPP_11..26) get one entry per name; all non-API pages become
guides. New API pages no longer need a manual entry.
- Page titles are set from the index names.
- The docset is self-contained: the mermaid loader no longer points to
https://json.nlohmann.me/assets/ ..., the repository widget no longer
queries api.github.com, remaining remote images are downloaded, and
the build fails if any remote resource load remains.
- The CSS that hides the site navigation now uses Material's classes;
the element selectors lost against them, so the header was shown.
check_structure.py's docset check is replaced by running the generator
in `make style_check`.
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
2026-10-10 12:10:11 +02:00
Niels Lohmann
743517f996
Merge branch 'json-view/13-view-dump' into json-view/16-view-simd
...
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
2026-10-10 11:38:43 +02:00
Niels Lohmann
fc0d39ca9d
Split the dump and comparison tests off unit-json_view.cpp
...
The MinGW linker of the Windows clang jobs cannot link object files with more
than 32767 sections ("relocation truncated to fit: IMAGE_REL_AMD64_REL32
against `.rdata'"). unit-json_view.cpp reaches that limit as the stack
grows, so its "json_view dump" and "json_view comparison" test cases move
into unit-json_view_dump.cpp. The test generator and has_duplicate_keys()
that both files use move into json_view_test_helpers.hpp.
The new file mentions JSON_HAS_CPP_17, so it is built for C++17 like the file
it was split from.
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
2026-10-10 11:34:42 +02:00
Niels Lohmann
90c6696641
Merge branch 'json-view/11-view-access' into json-view/13-view-dump
...
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
2026-10-10 11:31:33 +02:00
Niels Lohmann
25b25ece96
Merge branch 'json-view/08-view-builder' into json-view/11-view-access
...
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
2026-10-10 11:30:00 +02:00
Niels Lohmann
2f81bec10f
Merge branch 'json-view/23-zmij' into json-view/08-view-builder
...
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
2026-10-10 11:28:29 +02:00
Niels Lohmann
e26967139e
Merge branch 'json-view/02b-float-parser' into json-view/23-zmij
...
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
2026-10-10 11:25:50 +02:00
Niels Lohmann
1c79a536d1
Index strings with size_t in the colliding-keys test (MSVC C4244 on Win32)
...
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
2026-10-10 11:09:16 +02:00
Niels Lohmann
571b655357
Silence MSVC C4127 for a platform-constant check in the to_chars test
...
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
2026-10-10 11:08:03 +02:00
Niels Lohmann
3caf0e7cdb
Mark the unsigned long of the MSVC bit scans for cpplint
...
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
2026-10-10 11:07:53 +02:00
Niels Lohmann
a241f67eb1
Merge branch 'json-view/13-view-dump' into json-view/16-view-simd
...
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
2026-10-10 02:44:12 +02:00
Niels Lohmann
bae4148a78
Merge branch 'json-view/11-view-access' into json-view/13-view-dump
...
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
2026-10-10 02:44:09 +02:00
Niels Lohmann
8d3272e93b
Merge branch 'json-view/08-view-builder' into json-view/11-view-access
...
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
2026-10-10 02:44:06 +02:00
Niels Lohmann
7ee91c7d91
Suppress Flawfinder's read() finding on the deleted overload
...
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
2026-10-10 02:43:48 +02:00
Niels Lohmann
43624a81fa
Merge branch 'json-view/13-view-dump' into json-view/16-view-simd
...
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
2026-10-10 02:17:51 +02:00
Niels Lohmann
23ade0e9f9
Merge branch 'json-view/11-view-access' into json-view/13-view-dump
...
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
2026-10-10 02:14:55 +02:00
Niels Lohmann
c2810ffe3d
Avoid GCC useless-cast warnings in the integer index tests
...
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
2026-10-10 02:11:49 +02:00
Niels Lohmann
525787a2f7
Avoid GCC useless-cast and strict-overflow warnings in unit-json_view.cpp
...
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
2026-10-10 01:46:20 +02:00
Niels Lohmann
7de40707dd
Merge branch 'json-view/13-view-dump' into json-view/16-view-simd
...
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
2026-10-10 01:41:21 +02:00
Niels Lohmann
dd3d73a60b
Merge branch 'json-view/11-view-access' into json-view/13-view-dump
...
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
2026-10-10 01:38:19 +02:00
Niels Lohmann
2d5d1ec7a8
Merge branch 'json-view/08-view-builder' into json-view/11-view-access
...
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
2026-10-10 01:36:09 +02:00
Niels Lohmann
48a1363551
Merge branch 'json-view/23-zmij' into json-view/08-view-builder
...
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
2026-10-10 01:34:31 +02:00
Niels Lohmann
b5c8e57476
Merge branch 'json-view/02b-float-parser' into json-view/23-zmij
...
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
2026-10-10 01:33:40 +02:00
Niels Lohmann
48a69ef01d
Merge branch 'develop' into json-view/02b-float-parser
...
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
2026-10-10 01:32:41 +02:00
Niels Lohmann
efcbab2cf3
Fix clang-tidy 22 findings in unit-class_lexer.cpp
...
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
2026-10-10 01:23:25 +02:00
Niels Lohmann
486ab856d9
Regenerate the amalgamated headers
...
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
2026-10-10 01:22:41 +02:00
Niels Lohmann
d81b534bb2
Fix clang-tidy 22 findings in unit-json_view.cpp and unit-json_view_builder.cpp
...
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
2026-10-10 01:21:22 +02:00
Niels Lohmann
0effbaa7a2
Fix clang-tidy 22 findings in the json_view headers
...
Silence bugprone-casting-through-void for the SSE loads (a reinterpret_cast
would trip -Wcast-align=strict), use auto for a cast initialiser, add
parentheses to a mixed expression, and name bugprone-std-namespace-modification
in the NOLINTs of the tuple_size/tuple_element specialisations.
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
2026-10-10 01:19:05 +02:00
Niels Lohmann
81ead20445
Annotate intentional patterns in unit-json_view.cpp for clang-tidy
...
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
2026-10-10 00:19:40 +02:00
Niels Lohmann
38e34eb960
Regenerate the amalgamated headers
...
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
2026-10-10 00:18:21 +02:00
Niels Lohmann
a92a9d7a48
Fix clang-tidy findings in unit-json_view_builder.cpp
...
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
2026-10-10 00:18:17 +02:00
Niels Lohmann
2f94d7b950
Give document_data a user-provided constructor
...
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
2026-10-10 00:18:16 +02:00
Niels Lohmann
b7f0de016f
Regenerate the amalgamated headers
...
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
2026-10-10 00:13:01 +02:00
Niels Lohmann
a9ef628eb4
Fix the clang-tidy 22 findings in json_view and its tests
...
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
2026-10-10 00:12:52 +02:00
Niels Lohmann
74aefc3486
Move custom object key tests out of unit-cbor.cpp and unit-msgpack.cpp ( #5798 )
...
The custom object key tests from #5328 instantiate a second basic_json
specialization in unit-cbor.cpp and unit-msgpack.cpp. This pushed
unit-msgpack.cpp.obj past 65535 sections in the clang (MinGW) jobs of
the Windows workflow, and linking test-msgpack_cpp11 fails with
"relocation truncated to fit: IMAGE_REL_AMD64_REL32 against `.rdata'".
The GNU linker keeps the section an associative COMDAT section belongs
to in 16 bits (x_associated in include/coff/internal.h), although big
object files store 32 bits. In larger objects it therefore ties the
jump tables of inline functions to the wrong function and discards them
together with that function's duplicate.
Move the four tests unchanged into unit-custom-object-key-type.cpp and
document the limit in windows.yml.
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
2026-10-10 00:05:02 +02:00
Niels Lohmann
7fd79a29e0
Regenerate the amalgamated headers
...
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
2026-10-09 23:51:34 +02:00