json/include/nlohmann/detail
pketelsen eec79d4e8a
Add macros NLOHMANN_DEFINE_TYPE_INTRUSIVE_WITH_DEFAULT and ..._NON_INTRUSIVE_WITH_DEFAULT (#3143)
* Added new macros NLOHMANN_DEFINE_TYPE_INTRUSIVE_WITH_DEFAULT and NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE_WITH_DEFAULT.

* Updated docs for NLOHMANN_DEFINE_TYPE_INTRUSIVE_WITH_DEFAULT and NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE_WITH_DEFAULT accordingly

* Rephrased docs for NLOHMANN_DEFINE_TYPE_INTRUSIVE_WITH_DEFAULT and NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE_WITH_DEFAULT

* Updated docs for NLOHMANN_DEFINE_TYPE_INTRUSIVE_WITH_DEFAULT and NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE_WITH_DEFAULT

* Renamed default_obj in to avoid name clashes

* Added test for serialization of default constructed object

* Add const to getters for macro tests

Co-authored-by: Chaoya Li <harry75369@gmail.com>
2022-01-30 22:06:50 +01:00
..
conversions Consolidate documentation (#3071) 2021-12-29 13:41:01 +01:00
input Consolidate documentation (#3071) 2021-12-29 13:41:01 +01:00
iterators Update CI (#3088) 2021-10-29 21:27:34 +02:00
meta Add C++17 copies of the test binaries (#3101) 2021-12-29 09:47:05 +01:00
output ♻️ make function static 2022-01-05 21:21:46 +01:00
exceptions.hpp Consolidate documentation (#3071) 2021-12-29 13:41:01 +01:00
hash.hpp 🐛 adding missing header 2021-08-18 13:33:35 +02:00
json_pointer.hpp Consolidate documentation (#3071) 2021-12-29 13:41:01 +01:00
json_ref.hpp 🚨 add new CI and fix warnings (#2561) 2021-03-24 07:15:18 +01:00
macro_scope.hpp Add macros NLOHMANN_DEFINE_TYPE_INTRUSIVE_WITH_DEFAULT and ..._NON_INTRUSIVE_WITH_DEFAULT (#3143) 2022-01-30 22:06:50 +01:00
macro_unscope.hpp Add C++17 copies of the test binaries (#3101) 2021-12-29 09:47:05 +01:00
string_escape.hpp 🐛 proper JSON Pointer escape in diagnostic messages 2021-01-16 15:33:05 +01:00
value_t.hpp 🚨 fix warnings 2021-01-10 13:39:36 +01:00