Skip to content

add: added changes after running amalgamate

70650b4
Select commit
Loading
Failed to load commit list.
Open

Fix serialization macros with no member variables #5099

add: added changes after running amalgamate
70650b4
Select commit
Loading
Failed to load commit list.
Codacy Production / Codacy Static Code Analysis succeeded May 19, 2026 in 0s

Your pull request is up to standards!

Codacy Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- include/nlohmann/detail/json_pointer.hpp  4
- include/nlohmann/detail/macro_scope.hpp  1
- include/nlohmann/ordered_map.hpp  4
- include/nlohmann/detail/output/serializer.hpp  3
- tests/src/unit-serialization.cpp  3
- tests/src/unit-regression2.cpp  9
- tests/src/unit-ordered_json.cpp  1
- tests/src/unit-conversions.cpp  1
- tests/src/unit-udt_macro.cpp  56
- tests/src/unit-ordered_map.cpp  1
- docs/mkdocs/docs/examples/nlohmann_json_serialize_enum_strict.cpp  1
- docs/mkdocs/docs/examples/nlohmann_define_type_non_intrusive_with_names_explicit.cpp  4
- docs/mkdocs/docs/examples/nlohmann_define_type_non_intrusive_with_names_macro.cpp  2
- docs/mkdocs/docs/examples/json_pointer__front.cpp  1
- docs/mkdocs/docs/examples/json_pointer__pop_front.cpp  1
- docs/mkdocs/docs/examples/json_pointer__push_front.cpp  1
- docs/mkdocs/docs/examples/nlohmann_json_serialize_enum_strict_2.cpp  1
- docs/mkdocs/docs/examples/nlohmann_json_serialize_enum_strict_err.cpp  3
         

Complexity decreasing per file
==============================
+ tests/src/unit-class_parser.cpp  -3
         

Clones added
============
- include/nlohmann/ordered_map.hpp  4
- tests/src/unit-udt_macro.cpp  18
- docs/mkdocs/docs/examples/nlohmann_json_serialize_enum_strict.cpp  1
- docs/mkdocs/docs/examples/nlohmann_define_type_non_intrusive_with_names_explicit.cpp  1
- docs/mkdocs/docs/examples/nlohmann_define_type_non_intrusive_with_names_macro.cpp  1
- docs/mkdocs/docs/examples/nlohmann_json_serialize_enum_strict_2.cpp  1
         

Clones removed
==============
+ tests/src/unit-class_parser.cpp  -3
         

See the complete overview on Codacy