json/include/nlohmann
Florian Albrechtskirchinger 078673fdd9 Rework basic_json element access to accept more key types
Rework basic_json element access member functions and operators to
accept any type that meets the requirements defined by type trait
detail::is_usable_as_key_type.

Member functions and operators:
* at()
* operator[]
* value()
* erase()
* find()
* count()
* contains()

Update documentation to reflect these changes.

Add unit tests to excercise the new functions using std::string_view.

Co-authored-by: Niels Lohmann <niels.lohmann@gmail.com>
2022-04-27 12:09:03 +02:00
..
detail Add type traits to check if a type is usable as object key 2022-04-25 22:49:17 +02:00
thirdparty/hedley 🚨 add new CI and fix warnings (#2561) 2021-03-24 07:15:18 +01:00
adl_serializer.hpp Consolidate documentation (#3071) 2021-12-29 13:41:01 +01:00
byte_container_with_subtype.hpp Consolidate documentation (#3071) 2021-12-29 13:41:01 +01:00
json_fwd.hpp Consolidate documentation (#3071) 2021-12-29 13:41:01 +01:00
json.hpp Rework basic_json element access to accept more key types 2022-04-27 12:09:03 +02:00
ordered_map.hpp Replace == with key_compare in ordered_map 2022-04-25 22:45:44 +02:00