json/include/nlohmann/detail
jh96 1f218e1074
Possible fix for #4485 (#4487)
* Possible fix for #4485

Throw's an exception when i is nullptr,
also added a testcase for this scenario though most likely in the wrong test file.cpp

* quick cleanup

* Fix compile issues

* moved tests around, changed exceptions, removed a possibly unneeded include

* add back include <memory> for testing something

* Ninja doesn't like not having a \n, at end of file, adding it back

* update input_adapter file to deal with empty/null file ptr.

* ran make pretty

* added test for inputadapter

* ran make amalgamate

* Update tests/src/unit-deserialization.cpp

Co-authored-by: Niels Lohmann <niels.lohmann@gmail.com>

* Update tests/src/unit-deserialization.cpp

Co-authored-by: Niels Lohmann <niels.lohmann@gmail.com>

* Update input adapters.hpp with new includes

* fix unabigious use of _, (there was a double declare)

* did the amalagamate

* rm duplicate includes

* make amalgamate again

* reorder

* amalgamate

* moved it above

* amalgamate

---------

Co-authored-by: Jordan <jordan-hoang@users.noreply.github.com>
Co-authored-by: Niels Lohmann <niels.lohmann@gmail.com>
2024-11-19 13:54:04 +01:00
..
conversions feat: Rebase feature/optional to develop (#4036) 2024-11-16 17:19:33 +01:00
input Possible fix for #4485 (#4487) 2024-11-19 13:54:04 +01:00
iterators Make iterator_proxy_value a forward_iterator (#4371) (#4372) 2024-11-15 09:28:40 +01:00
meta Another desperate try to fix the CI (#4489) 2024-11-13 10:21:26 +01:00
output Another desperate try to fix the CI (#4489) 2024-11-13 10:21:26 +01:00
abi_macros.hpp JSON for Modern C++ 3.11.3 (#4222) 2023-11-28 22:36:31 +01:00
exceptions.hpp JSON for Modern C++ 3.11.3 (#4222) 2023-11-28 22:36:31 +01:00
hash.hpp JSON for Modern C++ 3.11.3 (#4222) 2023-11-28 22:36:31 +01:00
json_custom_base_class.hpp JSON for Modern C++ 3.11.3 (#4222) 2023-11-28 22:36:31 +01:00
json_pointer.hpp JSON for Modern C++ 3.11.3 (#4222) 2023-11-28 22:36:31 +01:00
json_ref.hpp JSON for Modern C++ 3.11.3 (#4222) 2023-11-28 22:36:31 +01:00
macro_scope.hpp Suppress warnings in NLOHMANN_JSON_SERIALIZE_ENUM (#4497) 2024-11-17 14:29:27 +01:00
macro_unscope.hpp JSON for Modern C++ 3.11.3 (#4222) 2023-11-28 22:36:31 +01:00
string_concat.hpp JSON for Modern C++ 3.11.3 (#4222) 2023-11-28 22:36:31 +01:00
string_escape.hpp JSON for Modern C++ 3.11.3 (#4222) 2023-11-28 22:36:31 +01:00
value_t.hpp JSON for Modern C++ 3.11.3 (#4222) 2023-11-28 22:36:31 +01:00