Lines Matching full:json
2 // __| | __| | | | JSON for Modern C++
4 // |_____|_____|_____|_|___| https://github.com/nlohmann/json
11 * documentation of the public API at https://json.nlohmann.me. This URL *
77 @brief a class to store JSON values
161 /// JSON Pointer, see @ref nlohmann::json_pointer
237 /// @sa https://json.nlohmann.me/api/basic_json/get_allocator/
244 /// @sa https://json.nlohmann.me/api/basic_json/meta/
251 result["name"] = "JSON for Modern C++";
252 result["url"] = "https://github.com/nlohmann/json";
311 // JSON value data types //
314 /// @name JSON value data types
315 /// The data types to store a JSON value. These types are derived from
322 /// @sa https://json.nlohmann.me/api/basic_json/default_object_comparator_t/
332 /// @sa https://json.nlohmann.me/api/basic_json/object_t/
340 /// @sa https://json.nlohmann.me/api/basic_json/array_t/
344 /// @sa https://json.nlohmann.me/api/basic_json/string_t/
348 /// @sa https://json.nlohmann.me/api/basic_json/boolean_t/
352 /// @sa https://json.nlohmann.me/api/basic_json/number_integer_t/
356 /// @sa https://json.nlohmann.me/api/basic_json/number_unsigned_t/
360 /// @sa https://json.nlohmann.me/api/basic_json/number_float_t/
364 /// @sa https://json.nlohmann.me/api/basic_json/binary_t/
368 /// @sa https://json.nlohmann.me/api/basic_json/object_comparator_t/
394 // JSON value storage //
399 @brief a JSON value
401 The actual storage for a JSON value of the @ref basic_json class. This
402 union combines the different storage types for the JSON value types
405 JSON type | value_t type | used type
659 invariant. Furthermore, it has to be called each time the type of a JSON
748 // see https://github.com/nlohmann/json/issues/2838
759 // been invalidated; see https://github.com/nlohmann/json/issues/2962
783 // JSON parser callback //
787 /// @sa https://json.nlohmann.me/api/basic_json/parse_event_t/
791 /// @sa https://json.nlohmann.me/api/basic_json/parser_callback_t/
804 /// @sa https://json.nlohmann.me/api/basic_json/basic_json/
812 /// @sa https://json.nlohmann.me/api/basic_json/basic_json/
819 /// @brief create a JSON value from compatible types
820 /// @sa https://json.nlohmann.me/api/basic_json/basic_json/
834 /// @brief create a JSON value from an existing one
835 /// @sa https://json.nlohmann.me/api/basic_json/basic_json/
891 /// @sa https://json.nlohmann.me/api/basic_json/basic_json/
946 /// @sa https://json.nlohmann.me/api/basic_json/binary/
957 /// @sa https://json.nlohmann.me/api/basic_json/binary/
968 /// @sa https://json.nlohmann.me/api/basic_json/binary/
979 /// @sa https://json.nlohmann.me/api/basic_json/binary/
990 /// @sa https://json.nlohmann.me/api/basic_json/array/
998 /// @sa https://json.nlohmann.me/api/basic_json/object/
1006 /// @sa https://json.nlohmann.me/api/basic_json/basic_json/
1015 /// @brief construct a JSON container given an iterator range
1016 /// @sa https://json.nlohmann.me/api/basic_json/basic_json/
1133 /// @sa https://json.nlohmann.me/api/basic_json/basic_json/
1201 /// @sa https://json.nlohmann.me/api/basic_json/basic_json/
1218 /// @sa https://json.nlohmann.me/api/basic_json/operator=/
1239 /// @sa https://json.nlohmann.me/api/basic_json/~basic_json/
1254 /// Functions to inspect the type of a JSON value.
1258 /// @sa https://json.nlohmann.me/api/basic_json/dump/
1279 /// @brief return the type of the JSON value (explicit)
1280 /// @sa https://json.nlohmann.me/api/basic_json/type/
1287 /// @sa https://json.nlohmann.me/api/basic_json/is_primitive/
1294 /// @sa https://json.nlohmann.me/api/basic_json/is_structured/
1301 /// @sa https://json.nlohmann.me/api/basic_json/is_null/
1308 /// @sa https://json.nlohmann.me/api/basic_json/is_boolean/
1315 /// @sa https://json.nlohmann.me/api/basic_json/is_number/
1322 /// @sa https://json.nlohmann.me/api/basic_json/is_number_integer/
1329 /// @sa https://json.nlohmann.me/api/basic_json/is_number_unsigned/
1336 /// @sa https://json.nlohmann.me/api/basic_json/is_number_float/
1343 /// @sa https://json.nlohmann.me/api/basic_json/is_object/
1350 /// @sa https://json.nlohmann.me/api/basic_json/is_array/
1357 /// @sa https://json.nlohmann.me/api/basic_json/is_string/
1364 /// @sa https://json.nlohmann.me/api/basic_json/is_binary/
1371 /// @sa https://json.nlohmann.me/api/basic_json/is_discarded/
1377 /// @brief return the type of the JSON value (implicit)
1378 /// @sa https://json.nlohmann.me/api/basic_json/operator_value_t/
1507 type of the current JSON
1525 /// Direct access to the stored value of a JSON value.
1529 /// @sa https://json.nlohmann.me/api/basic_json/get_ptr/
1539 /// @sa https://json.nlohmann.me/api/basic_json/get_ptr/
1553 Explicit type conversion between the JSON value and a compatible value
1575 @return copy of the JSON value, converted to @a ValueType
1579 @liveexample{The example below shows several conversions from JSON values
1581 be converted to integers\, (2) A JSON array can be converted to a standard
1582 `std::vector<short>`\, (3) A JSON object can be converted to C++
1584 json>`.,get__ValueType_const}
1604 Explicit type conversion between the JSON value and a compatible value
1625 @return copy of the JSON value, converted to @a ValueType
1707 Performs explicit type conversion between the JSON value and a compatible value if required.
1709 - If the requested type is a pointer to the internally stored JSON value that pointer is returned.
1721 @return copy of the JSON value, converted to @tparam ValueType if necessary
1746 Explicit pointer access to the internally stored JSON value. No copies are
1749 @warning The pointer becomes invalid if the underlying JSON object
1756 @return pointer to the internally stored JSON value if the requested
1757 pointer type @a PointerType fits to the JSON value; `nullptr` otherwise
1762 JSON value can be requested. Note that no type conversions are made and a
1779 /// @sa https://json.nlohmann.me/api/basic_json/get_to/
1793 // see https://github.com/nlohmann/json/issues/2175
1818 /// @sa https://json.nlohmann.me/api/basic_json/get_ref/
1828 /// @sa https://json.nlohmann.me/api/basic_json/get_ref/
1841 Implicit type conversion between the JSON value and a compatible value.
1844 @tparam ValueType non-pointer type compatible to the JSON value, for
1845 instance `int` for JSON integer numbers, `bool` for JSON booleans, or
1846 `std::vector` types for JSON arrays. The character type of @ref string_t
1850 @return copy of the JSON value, converted to type @a ValueType
1853 to the JSON value type (e.g., the JSON value is of type boolean, but a
1856 @complexity Linear in the size of the JSON value.
1858 @liveexample{The example below shows several conversions from JSON values
1860 be converted to integers\, (2) A JSON array can be converted to a standard
1861 `std::vector<short>`\, (3) A JSON object can be converted to C++
1863 json>`.,operator__ValueType}
1890 /// @sa https://json.nlohmann.me/api/basic_json/get_binary/
1902 /// @sa https://json.nlohmann.me/api/basic_json/get_binary/
1921 /// Access to the JSON value.
1925 /// @sa https://json.nlohmann.me/api/basic_json/at/
1948 /// @sa https://json.nlohmann.me/api/basic_json/at/
1971 /// @sa https://json.nlohmann.me/api/basic_json/at/
1989 /// @sa https://json.nlohmann.me/api/basic_json/at/
2009 /// @sa https://json.nlohmann.me/api/basic_json/at/
2027 /// @sa https://json.nlohmann.me/api/basic_json/at/
2047 /// @sa https://json.nlohmann.me/api/basic_json/operator%5B%5D/
2093 /// @sa https://json.nlohmann.me/api/basic_json/operator%5B%5D/
2106 /// @sa https://json.nlohmann.me/api/basic_json/operator%5B%5D/
2128 /// @sa https://json.nlohmann.me/api/basic_json/operator%5B%5D/
2157 /// @sa https://json.nlohmann.me/api/basic_json/operator%5B%5D/
2181 /// @sa https://json.nlohmann.me/api/basic_json/operator%5B%5D/
2209 /// @sa https://json.nlohmann.me/api/basic_json/value/
2233 /// @sa https://json.nlohmann.me/api/basic_json/value/
2258 /// @sa https://json.nlohmann.me/api/basic_json/value/
2283 /// @brief access specified object element via JSON Pointer with default value
2284 /// @sa https://json.nlohmann.me/api/basic_json/value/
2310 /// @brief access specified object element via JSON Pointer with default value
2311 /// @sa https://json.nlohmann.me/api/basic_json/value/
2334 /// @brief access specified object element via JSON Pointer with default value
2335 /// @sa https://json.nlohmann.me/api/basic_json/value/
2381 /// @sa https://json.nlohmann.me/api/basic_json/front/
2388 /// @sa https://json.nlohmann.me/api/basic_json/front/
2395 /// @sa https://json.nlohmann.me/api/basic_json/back/
2404 /// @sa https://json.nlohmann.me/api/basic_json/back/
2413 /// @sa https://json.nlohmann.me/api/basic_json/erase/
2483 /// @sa https://json.nlohmann.me/api/basic_json/erase/
2590 /// @brief remove element from a JSON object given a key
2591 /// @sa https://json.nlohmann.me/api/basic_json/erase/
2599 /// @brief remove element from a JSON object given a key
2600 /// @sa https://json.nlohmann.me/api/basic_json/erase/
2608 /// @brief remove element from a JSON array given an index
2609 /// @sa https://json.nlohmann.me/api/basic_json/erase/
2638 /// @brief find an element in a JSON object
2639 /// @sa https://json.nlohmann.me/api/basic_json/find/
2652 /// @brief find an element in a JSON object
2653 /// @sa https://json.nlohmann.me/api/basic_json/find/
2666 /// @brief find an element in a JSON object
2667 /// @sa https://json.nlohmann.me/api/basic_json/find/
2682 /// @brief find an element in a JSON object
2683 /// @sa https://json.nlohmann.me/api/basic_json/find/
2698 /// @brief returns the number of occurrences of a key in a JSON object
2699 /// @sa https://json.nlohmann.me/api/basic_json/count/
2706 /// @brief returns the number of occurrences of a key in a JSON object
2707 /// @sa https://json.nlohmann.me/api/basic_json/count/
2716 /// @brief check the existence of an element in a JSON object
2717 /// @sa https://json.nlohmann.me/api/basic_json/contains/
2723 /// @brief check the existence of an element in a JSON object
2724 /// @sa https://json.nlohmann.me/api/basic_json/contains/
2732 /// @brief check the existence of an element in a JSON object given a JSON pointer
2733 /// @sa https://json.nlohmann.me/api/basic_json/contains/
2757 /// @sa https://json.nlohmann.me/api/basic_json/begin/
2766 /// @sa https://json.nlohmann.me/api/basic_json/begin/
2773 /// @sa https://json.nlohmann.me/api/basic_json/cbegin/
2782 /// @sa https://json.nlohmann.me/api/basic_json/end/
2791 /// @sa https://json.nlohmann.me/api/basic_json/end/
2798 /// @sa https://json.nlohmann.me/api/basic_json/cend/
2807 /// @sa https://json.nlohmann.me/api/basic_json/rbegin/
2814 /// @sa https://json.nlohmann.me/api/basic_json/rbegin/
2821 /// @sa https://json.nlohmann.me/api/basic_json/rend/
2828 /// @sa https://json.nlohmann.me/api/basic_json/rend/
2835 /// @sa https://json.nlohmann.me/api/basic_json/crbegin/
2842 /// @sa https://json.nlohmann.me/api/basic_json/crend/
2850 /// @sa https://json.nlohmann.me/api/basic_json/items/
2853 /// that is, replace `json::iterator_wrapper(j)` with `j.items()`.
2861 /// @sa https://json.nlohmann.me/api/basic_json/items/
2864 /// that is, replace `json::iterator_wrapper(j)` with `j.items()`.
2872 /// @sa https://json.nlohmann.me/api/basic_json/items/
2879 /// @sa https://json.nlohmann.me/api/basic_json/items/
2896 /// @sa https://json.nlohmann.me/api/basic_json/empty/
2935 /// @sa https://json.nlohmann.me/api/basic_json/size/
2974 /// @sa https://json.nlohmann.me/api/basic_json/max_size/
3018 /// @sa https://json.nlohmann.me/api/basic_json/clear/
3079 /// @sa https://json.nlohmann.me/api/basic_json/push_back/
3104 /// @sa https://json.nlohmann.me/api/basic_json/operator+=/
3112 /// @sa https://json.nlohmann.me/api/basic_json/push_back/
3136 /// @sa https://json.nlohmann.me/api/basic_json/operator+=/
3144 /// @sa https://json.nlohmann.me/api/basic_json/push_back/
3167 /// @sa https://json.nlohmann.me/api/basic_json/operator+=/
3175 /// @sa https://json.nlohmann.me/api/basic_json/push_back/
3191 /// @sa https://json.nlohmann.me/api/basic_json/operator+=/
3199 /// @sa https://json.nlohmann.me/api/basic_json/emplace_back/
3224 /// @sa https://json.nlohmann.me/api/basic_json/emplace/
3256 /// see https://github.com/nlohmann/json/pull/1257
3276 /// @sa https://json.nlohmann.me/api/basic_json/insert/
3282 // check if iterator pos fits to this JSON value
3296 /// @sa https://json.nlohmann.me/api/basic_json/insert/
3303 /// @sa https://json.nlohmann.me/api/basic_json/insert/
3309 // check if iterator pos fits to this JSON value
3323 /// @sa https://json.nlohmann.me/api/basic_json/insert/
3332 // check if iterator pos fits to this JSON value
3338 // check if range iterators belong to the same JSON object
3354 /// @sa https://json.nlohmann.me/api/basic_json/insert/
3363 // check if iterator pos fits to this JSON value
3374 /// @sa https://json.nlohmann.me/api/basic_json/insert/
3383 // check if range iterators belong to the same JSON object
3398 /// @brief updates a JSON object from another object, overwriting existing keys
3399 /// @sa https://json.nlohmann.me/api/basic_json/update/
3405 /// @brief updates a JSON object from another object, overwriting existing keys
3406 /// @sa https://json.nlohmann.me/api/basic_json/update/
3422 // check if range iterators belong to the same JSON object
3453 /// @sa https://json.nlohmann.me/api/basic_json/swap/
3470 /// @sa https://json.nlohmann.me/api/basic_json/swap/
3482 /// @sa https://json.nlohmann.me/api/basic_json/swap/
3498 /// @sa https://json.nlohmann.me/api/basic_json/swap/
3514 /// @sa https://json.nlohmann.me/api/basic_json/swap/
3530 /// @sa https://json.nlohmann.me/api/basic_json/swap/
3546 /// @sa https://json.nlohmann.me/api/basic_json/swap/
3571 // https://github.com/nlohmann/json/issues/1530
3673 /// @sa https://json.nlohmann.me/api/basic_json/operator_eq/
3688 /// @sa https://json.nlohmann.me/api/basic_json/operator_eq/
3697 /// @sa https://json.nlohmann.me/api/basic_json/operator_ne/
3708 /// @sa https://json.nlohmann.me/api/basic_json/operator_spaceship/
3721 /// @sa https://json.nlohmann.me/api/basic_json/operator_spaceship/
3734 /// @sa https://json.nlohmann.me/api/basic_json/operator_le/
3746 /// @sa https://json.nlohmann.me/api/basic_json/operator_le/
3755 /// @sa https://json.nlohmann.me/api/basic_json/operator_ge/
3767 /// @sa https://json.nlohmann.me/api/basic_json/operator_ge/
3777 /// @sa https://json.nlohmann.me/api/basic_json/operator_eq/
3791 /// @sa https://json.nlohmann.me/api/basic_json/operator_eq/
3800 /// @sa https://json.nlohmann.me/api/basic_json/operator_eq/
3809 /// @sa https://json.nlohmann.me/api/basic_json/operator_ne/
3820 /// @sa https://json.nlohmann.me/api/basic_json/operator_ne/
3829 /// @sa https://json.nlohmann.me/api/basic_json/operator_ne/
3838 /// @sa https://json.nlohmann.me/api/basic_json/operator_lt/
3848 /// @sa https://json.nlohmann.me/api/basic_json/operator_lt/
3857 /// @sa https://json.nlohmann.me/api/basic_json/operator_lt/
3866 /// @sa https://json.nlohmann.me/api/basic_json/operator_le/
3877 /// @sa https://json.nlohmann.me/api/basic_json/operator_le/
3886 /// @sa https://json.nlohmann.me/api/basic_json/operator_le/
3895 /// @sa https://json.nlohmann.me/api/basic_json/operator_gt/
3907 /// @sa https://json.nlohmann.me/api/basic_json/operator_gt/
3916 /// @sa https://json.nlohmann.me/api/basic_json/operator_gt/
3925 /// @sa https://json.nlohmann.me/api/basic_json/operator_ge/
3936 /// @sa https://json.nlohmann.me/api/basic_json/operator_ge/
3945 /// @sa https://json.nlohmann.me/api/basic_json/operator_ge/
3966 /// @sa https://json.nlohmann.me/api/basic_json/operator_ltlt/
3983 /// @sa https://json.nlohmann.me/api/basic_json/operator_ltlt/
4005 /// @sa https://json.nlohmann.me/api/basic_json/parse/
4019 /// @sa https://json.nlohmann.me/api/basic_json/parse/
4045 /// @brief check if the input is valid JSON
4046 /// @sa https://json.nlohmann.me/api/basic_json/accept/
4054 /// @brief check if the input is valid JSON
4055 /// @sa https://json.nlohmann.me/api/basic_json/accept/
4072 /// @sa https://json.nlohmann.me/api/basic_json/sax_parse/
4076 input_format_t format = input_format_t::json,
4081 return format == input_format_t::json
4087 /// @sa https://json.nlohmann.me/api/basic_json/sax_parse/
4091 input_format_t format = input_format_t::json,
4096 return format == input_format_t::json
4102 /// @sa https://json.nlohmann.me/api/basic_json/sax_parse/
4110 input_format_t format = input_format_t::json,
4115 return format == input_format_t::json
4123 /// @sa https://json.nlohmann.me/api/basic_json/operator_gtgt/
4135 /// @sa https://json.nlohmann.me/api/basic_json/operator_gtgt/
4149 /// @sa https://json.nlohmann.me/api/basic_json/type_name/
4202 /// @brief create a CBOR serialization of a given JSON value
4203 /// @sa https://json.nlohmann.me/api/basic_json/to_cbor/
4211 /// @brief create a CBOR serialization of a given JSON value
4212 /// @sa https://json.nlohmann.me/api/basic_json/to_cbor/
4218 /// @brief create a CBOR serialization of a given JSON value
4219 /// @sa https://json.nlohmann.me/api/basic_json/to_cbor/
4225 /// @brief create a MessagePack serialization of a given JSON value
4226 /// @sa https://json.nlohmann.me/api/basic_json/to_msgpack/
4234 /// @brief create a MessagePack serialization of a given JSON value
4235 /// @sa https://json.nlohmann.me/api/basic_json/to_msgpack/
4241 /// @brief create a MessagePack serialization of a given JSON value
4242 /// @sa https://json.nlohmann.me/api/basic_json/to_msgpack/
4248 /// @brief create a UBJSON serialization of a given JSON value
4249 /// @sa https://json.nlohmann.me/api/basic_json/to_ubjson/
4259 /// @brief create a UBJSON serialization of a given JSON value
4260 /// @sa https://json.nlohmann.me/api/basic_json/to_ubjson/
4267 /// @brief create a UBJSON serialization of a given JSON value
4268 /// @sa https://json.nlohmann.me/api/basic_json/to_ubjson/
4275 /// @brief create a BJData serialization of a given JSON value
4276 /// @sa https://json.nlohmann.me/api/basic_json/to_bjdata/
4286 /// @brief create a BJData serialization of a given JSON value
4287 /// @sa https://json.nlohmann.me/api/basic_json/to_bjdata/
4294 /// @brief create a BJData serialization of a given JSON value
4295 /// @sa https://json.nlohmann.me/api/basic_json/to_bjdata/
4302 /// @brief create a BSON serialization of a given JSON value
4303 /// @sa https://json.nlohmann.me/api/basic_json/to_bson/
4311 /// @brief create a BSON serialization of a given JSON value
4312 /// @sa https://json.nlohmann.me/api/basic_json/to_bson/
4318 /// @brief create a BSON serialization of a given JSON value
4319 /// @sa https://json.nlohmann.me/api/basic_json/to_bson/
4325 /// @brief create a JSON value from an input in CBOR format
4326 /// @sa https://json.nlohmann.me/api/basic_json/from_cbor/
4341 /// @brief create a JSON value from an input in CBOR format
4342 /// @sa https://json.nlohmann.me/api/basic_json/from_cbor/
4384 /// @brief create a JSON value from an input in MessagePack format
4385 /// @sa https://json.nlohmann.me/api/basic_json/from_msgpack/
4399 /// @brief create a JSON value from an input in MessagePack format
4400 /// @sa https://json.nlohmann.me/api/basic_json/from_msgpack/
4438 /// @brief create a JSON value from an input in UBJSON format
4439 /// @sa https://json.nlohmann.me/api/basic_json/from_ubjson/
4453 /// @brief create a JSON value from an input in UBJSON format
4454 /// @sa https://json.nlohmann.me/api/basic_json/from_ubjson/
4493 /// @brief create a JSON value from an input in BJData format
4494 /// @sa https://json.nlohmann.me/api/basic_json/from_bjdata/
4508 /// @brief create a JSON value from an input in BJData format
4509 /// @sa https://json.nlohmann.me/api/basic_json/from_bjdata/
4523 /// @brief create a JSON value from an input in BSON format
4524 /// @sa https://json.nlohmann.me/api/basic_json/from_bson/
4538 /// @brief create a JSON value from an input in BSON format
4539 /// @sa https://json.nlohmann.me/api/basic_json/from_bson/
4579 // JSON Pointer support //
4582 /// @name JSON Pointer functions
4585 /// @brief access specified element via JSON Pointer
4586 /// @sa https://json.nlohmann.me/api/basic_json/operator%5B%5D/
4599 /// @brief access specified element via JSON Pointer
4600 /// @sa https://json.nlohmann.me/api/basic_json/operator%5B%5D/
4613 /// @brief access specified element via JSON Pointer
4614 /// @sa https://json.nlohmann.me/api/basic_json/at/
4627 /// @brief access specified element via JSON Pointer
4628 /// @sa https://json.nlohmann.me/api/basic_json/at/
4641 /// @brief return flattened JSON value
4642 /// @sa https://json.nlohmann.me/api/basic_json/flatten/
4650 /// @brief unflatten a previously flattened JSON value
4651 /// @sa https://json.nlohmann.me/api/basic_json/unflatten/
4660 // JSON Patch functions //
4663 /// @name JSON Patch functions
4666 /// @brief applies a JSON patch in-place without copying the object
4667 /// @sa https://json.nlohmann.me/api/basic_json/patch/
4671 // the valid JSON Patch operations
4721 // get reference to parent of JSON pointer ptr
4775 // get reference to parent of JSON pointer ptr
4804 JSON_THROW(parse_error::create(104, 0, "JSON patch must be an array of objects", &json_patch));
4842 JSON_THROW(parse_error::create(104, 0, "JSON patch must be an array of objects", &val));
4937 /// @brief applies a JSON patch to a copy of the current object
4938 /// @sa https://json.nlohmann.me/api/basic_json/patch/
4946 /// @brief creates a diff as a JSON patch
4947 /// @sa https://json.nlohmann.me/api/basic_json/diff/
5022 // escape the key name to be used in a JSON patch
5083 // JSON Merge Patch functions //
5086 /// @name JSON Merge Patch functions
5089 /// @brief applies a JSON Merge Patch
5090 /// @sa https://json.nlohmann.me/api/basic_json/merge_patch/
5120 /// @brief user-defined to_string function for JSON values
5121 /// @sa https://json.nlohmann.me/api/basic_json/to_string/
5133 /// @brief user-defined string literal for JSON values
5134 /// @sa https://json.nlohmann.me/api/basic_json/operator_literal_json/
5136 inline nlohmann::json operator "" _json(const char* s, std::size_t n)
5138 return nlohmann::json::parse(s, s + n);
5141 /// @brief user-defined string literal for JSON pointer
5142 /// @sa https://json.nlohmann.me/api/basic_json/operator_literal_json_pointer/
5144 inline nlohmann::json::json_pointer operator "" _json_pointer(const char* s, std::size_t n)
5146 return nlohmann::json::json_pointer(std::string(s, n));
5160 /// @brief hash value for JSON objects
5161 /// @sa https://json.nlohmann.me/api/basic_json/std_hash/
5173 struct less< ::nlohmann::detail::value_t> // do not remove the space after '<', see https://github.com/nlohmann/json/pull/679
5193 /// @brief exchanges the values of two JSON objects
5194 /// @sa https://json.nlohmann.me/api/basic_json/std_swap/