json/doc/mkdocs/docs/api
Florian Albrechtskirchinger 6df2a1a2cd Expose the actual comparison function used by object_t
nlohmann::ordered_map uses a different comparison function than the one
provided via template parameter.
* Introduce a type trait to detect if object_t has a key_compare member.
* Rename object_comparator_t to default_object_comparator_t.
* Add object_comparator_t to be conditionally defined as
  object_t::key_compare, if available, or default_object_comparator_t
  otherwise.
* Update the documentation accordingly.

Co-authored-by: Niels Lohmann <niels.lohmann@gmail.com>
2022-04-25 22:49:13 +02:00
..
adl_serializer Consolidate documentation (#3071) 2021-12-29 13:41:01 +01:00
basic_json Expose the actual comparison function used by object_t 2022-04-25 22:49:13 +02:00
byte_container_with_subtype Consolidate documentation (#3071) 2021-12-29 13:41:01 +01:00
json_pointer Overwork documentation (#3444) 2022-04-25 22:40:45 +02:00
json_sax Consolidate documentation (#3071) 2021-12-29 13:41:01 +01:00
macros Overwork documentation (#3444) 2022-04-25 22:40:45 +02:00
json.md Consolidate documentation (#3071) 2021-12-29 13:41:01 +01:00
ordered_json.md Consolidate documentation (#3071) 2021-12-29 13:41:01 +01:00
ordered_map.md Add key_compare member to ordered_map 2022-04-25 22:45:44 +02:00