🚨 fix warnings
This commit is contained in:
parent
7cb49fa3a4
commit
6085beec35
@ -497,5 +497,6 @@ class parser
|
||||
/// whether to throw exceptions in case of errors
|
||||
const bool allow_exceptions = true;
|
||||
};
|
||||
|
||||
} // namespace detail
|
||||
} // namespace nlohmann
|
||||
|
||||
@ -2867,7 +2867,7 @@ class basic_json
|
||||
|
||||
@tparam BasicJsonType == @ref basic_json
|
||||
|
||||
@return a copy of *this, converted into @tparam BasicJsonType
|
||||
@return a copy of *this, converted into @a BasicJsonType
|
||||
|
||||
@complexity Depending on the implementation of the called `from_json()`
|
||||
method.
|
||||
|
||||
@ -3455,7 +3455,7 @@ number_float), because the library distinguishes these three types for numbers:
|
||||
@ref basic_json::number_float_t is used for floating-point numbers or to
|
||||
approximate integers which do not fit in the limits of their respective type.
|
||||
|
||||
@sa @ref basic_json::basic_json(const value_t value_type) -- create a JSON
|
||||
@sa see @ref basic_json::basic_json(const value_t value_type) -- create a JSON
|
||||
value with the default value for a given type
|
||||
|
||||
@since version 1.0.0
|
||||
@ -4568,9 +4568,9 @@ class byte_container_with_subtype : public BinaryType
|
||||
@exceptionsafety No-throw guarantee: this member function never throws
|
||||
exceptions.
|
||||
|
||||
@sa @ref subtype() -- return the binary subtype
|
||||
@sa @ref clear_subtype() -- clears the binary subtype
|
||||
@sa @ref has_subtype() -- returns whether or not the binary value has a
|
||||
@sa see @ref subtype() -- return the binary subtype
|
||||
@sa see @ref clear_subtype() -- clears the binary subtype
|
||||
@sa see @ref has_subtype() -- returns whether or not the binary value has a
|
||||
subtype
|
||||
|
||||
@since version 3.8.0
|
||||
@ -4595,9 +4595,9 @@ class byte_container_with_subtype : public BinaryType
|
||||
@exceptionsafety No-throw guarantee: this member function never throws
|
||||
exceptions.
|
||||
|
||||
@sa @ref set_subtype() -- sets the binary subtype
|
||||
@sa @ref clear_subtype() -- clears the binary subtype
|
||||
@sa @ref has_subtype() -- returns whether or not the binary value has a
|
||||
@sa see @ref set_subtype() -- sets the binary subtype
|
||||
@sa see @ref clear_subtype() -- clears the binary subtype
|
||||
@sa see @ref has_subtype() -- returns whether or not the binary value has a
|
||||
subtype
|
||||
|
||||
@since version 3.8.0
|
||||
@ -4617,9 +4617,9 @@ class byte_container_with_subtype : public BinaryType
|
||||
@exceptionsafety No-throw guarantee: this member function never throws
|
||||
exceptions.
|
||||
|
||||
@sa @ref subtype() -- return the binary subtype
|
||||
@sa @ref set_subtype() -- sets the binary subtype
|
||||
@sa @ref clear_subtype() -- clears the binary subtype
|
||||
@sa see @ref subtype() -- return the binary subtype
|
||||
@sa see @ref set_subtype() -- sets the binary subtype
|
||||
@sa see @ref clear_subtype() -- clears the binary subtype
|
||||
|
||||
@since version 3.8.0
|
||||
*/
|
||||
@ -4640,9 +4640,9 @@ class byte_container_with_subtype : public BinaryType
|
||||
@exceptionsafety No-throw guarantee: this member function never throws
|
||||
exceptions.
|
||||
|
||||
@sa @ref subtype() -- return the binary subtype
|
||||
@sa @ref set_subtype() -- sets the binary subtype
|
||||
@sa @ref has_subtype() -- returns whether or not the binary value has a
|
||||
@sa see @ref subtype() -- return the binary subtype
|
||||
@sa see @ref set_subtype() -- sets the binary subtype
|
||||
@sa see @ref has_subtype() -- returns whether or not the binary value has a
|
||||
subtype
|
||||
|
||||
@since version 3.8.0
|
||||
@ -5448,7 +5448,7 @@ class json_sax_dom_parser
|
||||
using binary_t = typename BasicJsonType::binary_t;
|
||||
|
||||
/*!
|
||||
@param[in, out] r reference to a JSON value that is manipulated while
|
||||
@param[in,out] r reference to a JSON value that is manipulated while
|
||||
parsing
|
||||
@param[in] allow_exceptions_ whether parse errors yield exceptions
|
||||
*/
|
||||
@ -7840,7 +7840,7 @@ class binary_reader
|
||||
@param[in] strict whether to expect the input to be consumed completed
|
||||
@param[in] tag_handler how to treat CBOR tags
|
||||
|
||||
@return
|
||||
@return whether parsing was successful
|
||||
*/
|
||||
JSON_HEDLEY_NON_NULL(3)
|
||||
bool sax_parse(const input_format_t format,
|
||||
@ -7924,7 +7924,7 @@ class binary_reader
|
||||
|
||||
/*!
|
||||
@brief Parses a C-style string from the BSON input.
|
||||
@param[in, out] result A reference to the string variable where the read
|
||||
@param[in,out] result A reference to the string variable where the read
|
||||
string is to be stored.
|
||||
@return `true` if the \x00-byte indicating the end of the string was
|
||||
encountered before the EOF; false` indicates an unexpected EOF.
|
||||
@ -7952,7 +7952,7 @@ class binary_reader
|
||||
input.
|
||||
@param[in] len The length (including the zero-byte at the end) of the
|
||||
string to be read.
|
||||
@param[in, out] result A reference to the string variable where the read
|
||||
@param[in,out] result A reference to the string variable where the read
|
||||
string is to be stored.
|
||||
@tparam NumberType The type of the length @a len
|
||||
@pre len >= 1
|
||||
@ -7973,7 +7973,7 @@ class binary_reader
|
||||
/*!
|
||||
@brief Parses a byte array input of length @a len from the BSON input.
|
||||
@param[in] len The length of the byte array to be read.
|
||||
@param[in, out] result A reference to the binary variable where the read
|
||||
@param[in,out] result A reference to the binary variable where the read
|
||||
array is to be stored.
|
||||
@tparam NumberType The type of the length @a len
|
||||
@pre len >= 0
|
||||
@ -10722,6 +10722,7 @@ class parser
|
||||
/// whether to throw exceptions in case of errors
|
||||
const bool allow_exceptions = true;
|
||||
};
|
||||
|
||||
} // namespace detail
|
||||
} // namespace nlohmann
|
||||
|
||||
@ -11745,9 +11746,9 @@ class json_pointer
|
||||
|
||||
@complexity Linear in the length of @a ptr.
|
||||
|
||||
@sa @ref operator/=(std::string) to append a reference token
|
||||
@sa @ref operator/=(std::size_t) to append an array index
|
||||
@sa @ref operator/(const json_pointer&, const json_pointer&) for a binary operator
|
||||
@sa see @ref operator/=(std::string) to append a reference token
|
||||
@sa see @ref operator/=(std::size_t) to append an array index
|
||||
@sa see @ref operator/(const json_pointer&, const json_pointer&) for a binary operator
|
||||
|
||||
@since version 3.6.0
|
||||
*/
|
||||
@ -11769,9 +11770,9 @@ class json_pointer
|
||||
|
||||
@complexity Amortized constant.
|
||||
|
||||
@sa @ref operator/=(const json_pointer&) to append a JSON pointer
|
||||
@sa @ref operator/=(std::size_t) to append an array index
|
||||
@sa @ref operator/(const json_pointer&, std::size_t) for a binary operator
|
||||
@sa see @ref operator/=(const json_pointer&) to append a JSON pointer
|
||||
@sa see @ref operator/=(std::size_t) to append an array index
|
||||
@sa see @ref operator/(const json_pointer&, std::size_t) for a binary operator
|
||||
|
||||
@since version 3.6.0
|
||||
*/
|
||||
@ -11791,9 +11792,9 @@ class json_pointer
|
||||
|
||||
@complexity Amortized constant.
|
||||
|
||||
@sa @ref operator/=(const json_pointer&) to append a JSON pointer
|
||||
@sa @ref operator/=(std::string) to append a reference token
|
||||
@sa @ref operator/(const json_pointer&, std::string) for a binary operator
|
||||
@sa see @ref operator/=(const json_pointer&) to append a JSON pointer
|
||||
@sa see @ref operator/=(std::string) to append a reference token
|
||||
@sa see @ref operator/(const json_pointer&, std::string) for a binary operator
|
||||
|
||||
@since version 3.6.0
|
||||
*/
|
||||
@ -11813,7 +11814,7 @@ class json_pointer
|
||||
|
||||
@complexity Linear in the length of @a lhs and @a rhs.
|
||||
|
||||
@sa @ref operator/=(const json_pointer&) to append a JSON pointer
|
||||
@sa see @ref operator/=(const json_pointer&) to append a JSON pointer
|
||||
|
||||
@since version 3.6.0
|
||||
*/
|
||||
@ -11834,7 +11835,7 @@ class json_pointer
|
||||
|
||||
@complexity Linear in the length of @a ptr.
|
||||
|
||||
@sa @ref operator/=(std::string) to append a reference token
|
||||
@sa see @ref operator/=(std::string) to append a reference token
|
||||
|
||||
@since version 3.6.0
|
||||
*/
|
||||
@ -11854,7 +11855,7 @@ class json_pointer
|
||||
|
||||
@complexity Linear in the length of @a ptr.
|
||||
|
||||
@sa @ref operator/=(std::size_t) to append an array index
|
||||
@sa see @ref operator/=(std::size_t) to append an array index
|
||||
|
||||
@since version 3.6.0
|
||||
*/
|
||||
@ -13994,7 +13995,6 @@ class binary_writer
|
||||
key @a name.
|
||||
@param name The name to associate with the JSON entity @a j within the
|
||||
current BSON document
|
||||
@return The size of the BSON entry
|
||||
*/
|
||||
void write_bson_element(const string_t& name,
|
||||
const BasicJsonType& j)
|
||||
@ -14039,8 +14039,8 @@ class binary_writer
|
||||
/*!
|
||||
@brief Calculates the size of the BSON serialization of the given
|
||||
JSON-object @a j.
|
||||
@param[in] j JSON value to serialize
|
||||
@pre j.type() == value_t::object
|
||||
@param[in] value JSON value to serialize
|
||||
@pre value.type() == value_t::object
|
||||
*/
|
||||
static std::size_t calc_bson_object_size(const typename BasicJsonType::object_t& value)
|
||||
{
|
||||
@ -14054,8 +14054,8 @@ class binary_writer
|
||||
}
|
||||
|
||||
/*!
|
||||
@param[in] j JSON value to serialize
|
||||
@pre j.type() == value_t::object
|
||||
@param[in] value JSON value to serialize
|
||||
@pre value.type() == value_t::object
|
||||
*/
|
||||
void write_bson_object(const typename BasicJsonType::object_t& value)
|
||||
{
|
||||
@ -17119,7 +17119,7 @@ class basic_json
|
||||
access to object values, a pointer of type `object_t*` must be
|
||||
dereferenced.
|
||||
|
||||
@sa @ref array_t -- type for an array value
|
||||
@sa see @ref array_t -- type for an array value
|
||||
|
||||
@since version 1.0.0
|
||||
|
||||
@ -17177,7 +17177,7 @@ class basic_json
|
||||
Arrays are stored as pointers in a @ref basic_json type. That is, for any
|
||||
access to array values, a pointer of type `array_t*` must be dereferenced.
|
||||
|
||||
@sa @ref object_t -- type for an object value
|
||||
@sa see @ref object_t -- type for an object value
|
||||
|
||||
@since version 1.0.0
|
||||
*/
|
||||
@ -17326,9 +17326,9 @@ class basic_json
|
||||
|
||||
Integer number values are stored directly inside a @ref basic_json type.
|
||||
|
||||
@sa @ref number_float_t -- type for number values (floating-point)
|
||||
@sa see @ref number_float_t -- type for number values (floating-point)
|
||||
|
||||
@sa @ref number_unsigned_t -- type for number values (unsigned integer)
|
||||
@sa see @ref number_unsigned_t -- type for number values (unsigned integer)
|
||||
|
||||
@since version 1.0.0
|
||||
*/
|
||||
@ -17398,8 +17398,8 @@ class basic_json
|
||||
|
||||
Integer number values are stored directly inside a @ref basic_json type.
|
||||
|
||||
@sa @ref number_float_t -- type for number values (floating-point)
|
||||
@sa @ref number_integer_t -- type for number values (integer)
|
||||
@sa see @ref number_float_t -- type for number values (floating-point)
|
||||
@sa see @ref number_integer_t -- type for number values (integer)
|
||||
|
||||
@since version 2.0.0
|
||||
*/
|
||||
@ -17465,9 +17465,9 @@ class basic_json
|
||||
Floating-point number values are stored directly inside a @ref basic_json
|
||||
type.
|
||||
|
||||
@sa @ref number_integer_t -- type for number values (integer)
|
||||
@sa see @ref number_integer_t -- type for number values (integer)
|
||||
|
||||
@sa @ref number_unsigned_t -- type for number values (unsigned integer)
|
||||
@sa see @ref number_unsigned_t -- type for number values (unsigned integer)
|
||||
|
||||
@since version 1.0.0
|
||||
*/
|
||||
@ -17538,7 +17538,7 @@ class basic_json
|
||||
- If a subtype is given, it is used and added as unsigned 8-bit integer.
|
||||
- If no subtype is given, the generic binary subtype 0x00 is used.
|
||||
|
||||
@sa @ref binary -- create a binary array
|
||||
@sa see @ref binary -- create a binary array
|
||||
|
||||
@since version 3.8.0
|
||||
*/
|
||||
@ -17882,7 +17882,7 @@ class basic_json
|
||||
|
||||
@image html callback_events.png "Example when certain parse events are triggered"
|
||||
|
||||
@sa @ref parser_callback_t for more information and examples
|
||||
@sa see @ref parser_callback_t for more information and examples
|
||||
*/
|
||||
using parse_event_t = detail::parse_event_t;
|
||||
|
||||
@ -17931,7 +17931,7 @@ class basic_json
|
||||
should be kept (`true`) or not (`false`). In the latter case, it is either
|
||||
skipped completely or replaced by an empty discarded object.
|
||||
|
||||
@sa @ref parse for examples
|
||||
@sa see @ref parse for examples
|
||||
|
||||
@since version 1.0.0
|
||||
*/
|
||||
@ -17972,7 +17972,7 @@ class basic_json
|
||||
@liveexample{The following code shows the constructor for different @ref
|
||||
value_t values,basic_json__value_t}
|
||||
|
||||
@sa @ref clear() -- restores the postcondition of this constructor
|
||||
@sa see @ref clear() -- restores the postcondition of this constructor
|
||||
|
||||
@since version 1.0.0
|
||||
*/
|
||||
@ -18226,9 +18226,9 @@ class basic_json
|
||||
@liveexample{The example below shows how JSON values are created from
|
||||
initializer lists.,basic_json__list_init_t}
|
||||
|
||||
@sa @ref array(initializer_list_t) -- create a JSON array
|
||||
@sa see @ref array(initializer_list_t) -- create a JSON array
|
||||
value from an initializer list
|
||||
@sa @ref object(initializer_list_t) -- create a JSON object
|
||||
@sa see @ref object(initializer_list_t) -- create a JSON object
|
||||
value from an initializer list
|
||||
|
||||
@since version 1.0.0
|
||||
@ -18408,9 +18408,9 @@ class basic_json
|
||||
@liveexample{The following code shows an example for the `array`
|
||||
function.,array}
|
||||
|
||||
@sa @ref basic_json(initializer_list_t, bool, value_t) --
|
||||
@sa see @ref basic_json(initializer_list_t, bool, value_t) --
|
||||
create a JSON value from an initializer list
|
||||
@sa @ref object(initializer_list_t) -- create a JSON object
|
||||
@sa see @ref object(initializer_list_t) -- create a JSON object
|
||||
value from an initializer list
|
||||
|
||||
@since version 1.0.0
|
||||
@ -18452,9 +18452,9 @@ class basic_json
|
||||
@liveexample{The following code shows an example for the `object`
|
||||
function.,object}
|
||||
|
||||
@sa @ref basic_json(initializer_list_t, bool, value_t) --
|
||||
@sa see @ref basic_json(initializer_list_t, bool, value_t) --
|
||||
create a JSON value from an initializer list
|
||||
@sa @ref array(initializer_list_t) -- create a JSON array
|
||||
@sa see @ref array(initializer_list_t) -- create a JSON array
|
||||
value from an initializer list
|
||||
|
||||
@since version 1.0.0
|
||||
@ -18953,8 +18953,8 @@ class basic_json
|
||||
@liveexample{The following code exemplifies `type()` for all JSON
|
||||
types.,type}
|
||||
|
||||
@sa @ref operator value_t() -- return the type of the JSON value (implicit)
|
||||
@sa @ref type_name() -- return the type as string
|
||||
@sa see @ref operator value_t() -- return the type of the JSON value (implicit)
|
||||
@sa see @ref type_name() -- return the type as string
|
||||
|
||||
@since version 1.0.0
|
||||
*/
|
||||
@ -18980,12 +18980,12 @@ class basic_json
|
||||
@liveexample{The following code exemplifies `is_primitive()` for all JSON
|
||||
types.,is_primitive}
|
||||
|
||||
@sa @ref is_structured() -- returns whether JSON value is structured
|
||||
@sa @ref is_null() -- returns whether JSON value is `null`
|
||||
@sa @ref is_string() -- returns whether JSON value is a string
|
||||
@sa @ref is_boolean() -- returns whether JSON value is a boolean
|
||||
@sa @ref is_number() -- returns whether JSON value is a number
|
||||
@sa @ref is_binary() -- returns whether JSON value is a binary array
|
||||
@sa see @ref is_structured() -- returns whether JSON value is structured
|
||||
@sa see @ref is_null() -- returns whether JSON value is `null`
|
||||
@sa see @ref is_string() -- returns whether JSON value is a string
|
||||
@sa see @ref is_boolean() -- returns whether JSON value is a boolean
|
||||
@sa see @ref is_number() -- returns whether JSON value is a number
|
||||
@sa see @ref is_binary() -- returns whether JSON value is a binary array
|
||||
|
||||
@since version 1.0.0
|
||||
*/
|
||||
@ -19010,9 +19010,9 @@ class basic_json
|
||||
@liveexample{The following code exemplifies `is_structured()` for all JSON
|
||||
types.,is_structured}
|
||||
|
||||
@sa @ref is_primitive() -- returns whether value is primitive
|
||||
@sa @ref is_array() -- returns whether value is an array
|
||||
@sa @ref is_object() -- returns whether value is an object
|
||||
@sa see @ref is_primitive() -- returns whether value is primitive
|
||||
@sa see @ref is_array() -- returns whether value is an array
|
||||
@sa see @ref is_object() -- returns whether value is an object
|
||||
|
||||
@since version 1.0.0
|
||||
*/
|
||||
@ -19082,11 +19082,11 @@ class basic_json
|
||||
@liveexample{The following code exemplifies `is_number()` for all JSON
|
||||
types.,is_number}
|
||||
|
||||
@sa @ref is_number_integer() -- check if value is an integer or unsigned
|
||||
@sa see @ref is_number_integer() -- check if value is an integer or unsigned
|
||||
integer number
|
||||
@sa @ref is_number_unsigned() -- check if value is an unsigned integer
|
||||
@sa see @ref is_number_unsigned() -- check if value is an unsigned integer
|
||||
number
|
||||
@sa @ref is_number_float() -- check if value is a floating-point number
|
||||
@sa see @ref is_number_float() -- check if value is a floating-point number
|
||||
|
||||
@since version 1.0.0
|
||||
*/
|
||||
@ -19112,10 +19112,10 @@ class basic_json
|
||||
@liveexample{The following code exemplifies `is_number_integer()` for all
|
||||
JSON types.,is_number_integer}
|
||||
|
||||
@sa @ref is_number() -- check if value is a number
|
||||
@sa @ref is_number_unsigned() -- check if value is an unsigned integer
|
||||
@sa see @ref is_number() -- check if value is a number
|
||||
@sa see @ref is_number_unsigned() -- check if value is an unsigned integer
|
||||
number
|
||||
@sa @ref is_number_float() -- check if value is a floating-point number
|
||||
@sa see @ref is_number_float() -- check if value is a floating-point number
|
||||
|
||||
@since version 1.0.0
|
||||
*/
|
||||
@ -19140,10 +19140,10 @@ class basic_json
|
||||
@liveexample{The following code exemplifies `is_number_unsigned()` for all
|
||||
JSON types.,is_number_unsigned}
|
||||
|
||||
@sa @ref is_number() -- check if value is a number
|
||||
@sa @ref is_number_integer() -- check if value is an integer or unsigned
|
||||
@sa see @ref is_number() -- check if value is a number
|
||||
@sa see @ref is_number_integer() -- check if value is an integer or unsigned
|
||||
integer number
|
||||
@sa @ref is_number_float() -- check if value is a floating-point number
|
||||
@sa see @ref is_number_float() -- check if value is a floating-point number
|
||||
|
||||
@since version 2.0.0
|
||||
*/
|
||||
@ -19168,9 +19168,9 @@ class basic_json
|
||||
@liveexample{The following code exemplifies `is_number_float()` for all
|
||||
JSON types.,is_number_float}
|
||||
|
||||
@sa @ref is_number() -- check if value is number
|
||||
@sa @ref is_number_integer() -- check if value is an integer number
|
||||
@sa @ref is_number_unsigned() -- check if value is an unsigned integer
|
||||
@sa see @ref is_number() -- check if value is number
|
||||
@sa see @ref is_number_integer() -- check if value is an integer number
|
||||
@sa see @ref is_number_unsigned() -- check if value is an unsigned integer
|
||||
number
|
||||
|
||||
@since version 1.0.0
|
||||
@ -19311,8 +19311,8 @@ class basic_json
|
||||
@liveexample{The following code exemplifies the @ref value_t operator for
|
||||
all JSON types.,operator__value_t}
|
||||
|
||||
@sa @ref type() -- return the type of the JSON value (explicit)
|
||||
@sa @ref type_name() -- return the type as string
|
||||
@sa see @ref type() -- return the type of the JSON value (explicit)
|
||||
@sa see @ref type_name() -- return the type as string
|
||||
|
||||
@since version 1.0.0
|
||||
*/
|
||||
@ -19495,7 +19495,7 @@ class basic_json
|
||||
|
||||
@tparam BasicJsonType == @ref basic_json
|
||||
|
||||
@return a copy of *this, converted into @tparam BasicJsonType
|
||||
@return a copy of *this, converted into @a BasicJsonType
|
||||
|
||||
@complexity Depending on the implementation of the called `from_json()`
|
||||
method.
|
||||
@ -19755,7 +19755,7 @@ class basic_json
|
||||
`nullptr` is returned if the value and the requested pointer type does not
|
||||
match.,get__PointerType}
|
||||
|
||||
@sa @ref get_ptr() for explicit pointer-member access
|
||||
@sa see @ref get_ptr() for explicit pointer-member access
|
||||
|
||||
@since version 1.0.0
|
||||
*/
|
||||
@ -19877,7 +19877,7 @@ class basic_json
|
||||
|
||||
@throw type_error.302 if the value is not binary
|
||||
|
||||
@sa @ref is_binary() to check if the value is binary
|
||||
@sa see @ref is_binary() to check if the value is binary
|
||||
|
||||
@since version 3.8.0
|
||||
*/
|
||||
@ -20027,9 +20027,9 @@ class basic_json
|
||||
|
||||
@complexity Logarithmic in the size of the container.
|
||||
|
||||
@sa @ref operator[](const typename object_t::key_type&) for unchecked
|
||||
@sa see @ref operator[](const typename object_t::key_type&) for unchecked
|
||||
access by reference
|
||||
@sa @ref value() for access by value with a default value
|
||||
@sa see @ref value() for access by value with a default value
|
||||
|
||||
@since version 1.0.0
|
||||
|
||||
@ -20078,9 +20078,9 @@ class basic_json
|
||||
|
||||
@complexity Logarithmic in the size of the container.
|
||||
|
||||
@sa @ref operator[](const typename object_t::key_type&) for unchecked
|
||||
@sa see @ref operator[](const typename object_t::key_type&) for unchecked
|
||||
access by reference
|
||||
@sa @ref value() for access by value with a default value
|
||||
@sa see @ref value() for access by value with a default value
|
||||
|
||||
@since version 1.0.0
|
||||
|
||||
@ -20212,9 +20212,9 @@ class basic_json
|
||||
@liveexample{The example below shows how object elements can be read and
|
||||
written using the `[]` operator.,operatorarray__key_type}
|
||||
|
||||
@sa @ref at(const typename object_t::key_type&) for access by reference
|
||||
@sa see @ref at(const typename object_t::key_type&) for access by reference
|
||||
with range checking
|
||||
@sa @ref value() for access by value with a default value
|
||||
@sa see @ref value() for access by value with a default value
|
||||
|
||||
@since version 1.0.0
|
||||
*/
|
||||
@ -20261,9 +20261,9 @@ class basic_json
|
||||
@liveexample{The example below shows how object elements can be read using
|
||||
the `[]` operator.,operatorarray__key_type_const}
|
||||
|
||||
@sa @ref at(const typename object_t::key_type&) for access by reference
|
||||
@sa see @ref at(const typename object_t::key_type&) for access by reference
|
||||
with range checking
|
||||
@sa @ref value() for access by value with a default value
|
||||
@sa see @ref value() for access by value with a default value
|
||||
|
||||
@since version 1.0.0
|
||||
*/
|
||||
@ -20300,9 +20300,9 @@ class basic_json
|
||||
@liveexample{The example below shows how object elements can be read and
|
||||
written using the `[]` operator.,operatorarray__key_type}
|
||||
|
||||
@sa @ref at(const typename object_t::key_type&) for access by reference
|
||||
@sa see @ref at(const typename object_t::key_type&) for access by reference
|
||||
with range checking
|
||||
@sa @ref value() for access by value with a default value
|
||||
@sa see @ref value() for access by value with a default value
|
||||
|
||||
@since version 1.1.0
|
||||
*/
|
||||
@ -20351,9 +20351,9 @@ class basic_json
|
||||
@liveexample{The example below shows how object elements can be read using
|
||||
the `[]` operator.,operatorarray__key_type_const}
|
||||
|
||||
@sa @ref at(const typename object_t::key_type&) for access by reference
|
||||
@sa see @ref at(const typename object_t::key_type&) for access by reference
|
||||
with range checking
|
||||
@sa @ref value() for access by value with a default value
|
||||
@sa see @ref value() for access by value with a default value
|
||||
|
||||
@since version 1.1.0
|
||||
*/
|
||||
@ -20414,9 +20414,9 @@ class basic_json
|
||||
@liveexample{The example below shows how object elements can be queried
|
||||
with a default value.,basic_json__value}
|
||||
|
||||
@sa @ref at(const typename object_t::key_type&) for access by reference
|
||||
@sa see @ref at(const typename object_t::key_type&) for access by reference
|
||||
with range checking
|
||||
@sa @ref operator[](const typename object_t::key_type&) for unchecked
|
||||
@sa see @ref operator[](const typename object_t::key_type&) for unchecked
|
||||
access by reference
|
||||
|
||||
@since version 1.0.0
|
||||
@ -20491,7 +20491,7 @@ class basic_json
|
||||
@liveexample{The example below shows how object elements can be queried
|
||||
with a default value.,basic_json__value_ptr}
|
||||
|
||||
@sa @ref operator[](const json_pointer&) for unchecked access by reference
|
||||
@sa see @ref operator[](const json_pointer&) for unchecked access by reference
|
||||
|
||||
@since version 2.0.2
|
||||
*/
|
||||
@ -20547,7 +20547,7 @@ class basic_json
|
||||
|
||||
@liveexample{The following code shows an example for `front()`.,front}
|
||||
|
||||
@sa @ref back() -- access the last element
|
||||
@sa see @ref back() -- access the last element
|
||||
|
||||
@since version 1.0.0
|
||||
*/
|
||||
@ -20591,7 +20591,7 @@ class basic_json
|
||||
|
||||
@liveexample{The following code shows an example for `back()`.,back}
|
||||
|
||||
@sa @ref front() -- access the first element
|
||||
@sa see @ref front() -- access the first element
|
||||
|
||||
@since version 1.0.0
|
||||
*/
|
||||
@ -20649,11 +20649,11 @@ class basic_json
|
||||
@liveexample{The example shows the result of `erase()` for different JSON
|
||||
types.,erase__IteratorType}
|
||||
|
||||
@sa @ref erase(IteratorType, IteratorType) -- removes the elements in
|
||||
@sa see @ref erase(IteratorType, IteratorType) -- removes the elements in
|
||||
the given range
|
||||
@sa @ref erase(const typename object_t::key_type&) -- removes the element
|
||||
@sa see @ref erase(const typename object_t::key_type&) -- removes the element
|
||||
from an object at the given key
|
||||
@sa @ref erase(const size_type) -- removes the element from an array at
|
||||
@sa see @ref erase(const size_type) -- removes the element from an array at
|
||||
the given index
|
||||
|
||||
@since version 1.0.0
|
||||
@ -20763,10 +20763,10 @@ class basic_json
|
||||
@liveexample{The example shows the result of `erase()` for different JSON
|
||||
types.,erase__IteratorType_IteratorType}
|
||||
|
||||
@sa @ref erase(IteratorType) -- removes the element at a given position
|
||||
@sa @ref erase(const typename object_t::key_type&) -- removes the element
|
||||
@sa see @ref erase(IteratorType) -- removes the element at a given position
|
||||
@sa see @ref erase(const typename object_t::key_type&) -- removes the element
|
||||
from an object at the given key
|
||||
@sa @ref erase(const size_type) -- removes the element from an array at
|
||||
@sa see @ref erase(const size_type) -- removes the element from an array at
|
||||
the given index
|
||||
|
||||
@since version 1.0.0
|
||||
@ -20862,10 +20862,10 @@ class basic_json
|
||||
|
||||
@liveexample{The example shows the effect of `erase()`.,erase__key_type}
|
||||
|
||||
@sa @ref erase(IteratorType) -- removes the element at a given position
|
||||
@sa @ref erase(IteratorType, IteratorType) -- removes the elements in
|
||||
@sa see @ref erase(IteratorType) -- removes the element at a given position
|
||||
@sa see @ref erase(IteratorType, IteratorType) -- removes the elements in
|
||||
the given range
|
||||
@sa @ref erase(const size_type) -- removes the element from an array at
|
||||
@sa see @ref erase(const size_type) -- removes the element from an array at
|
||||
the given index
|
||||
|
||||
@since version 1.0.0
|
||||
@ -20897,10 +20897,10 @@ class basic_json
|
||||
|
||||
@liveexample{The example shows the effect of `erase()`.,erase__size_type}
|
||||
|
||||
@sa @ref erase(IteratorType) -- removes the element at a given position
|
||||
@sa @ref erase(IteratorType, IteratorType) -- removes the elements in
|
||||
@sa see @ref erase(IteratorType) -- removes the element at a given position
|
||||
@sa see @ref erase(IteratorType, IteratorType) -- removes the elements in
|
||||
the given range
|
||||
@sa @ref erase(const typename object_t::key_type&) -- removes the element
|
||||
@sa see @ref erase(const typename object_t::key_type&) -- removes the element
|
||||
from an object at the given key
|
||||
|
||||
@since version 1.0.0
|
||||
@ -20953,7 +20953,7 @@ class basic_json
|
||||
|
||||
@liveexample{The example shows how `find()` is used.,find__key_type}
|
||||
|
||||
@sa @ref contains(KeyT&&) const -- checks whether a key exists
|
||||
@sa see @ref contains(KeyT&&) const -- checks whether a key exists
|
||||
|
||||
@since version 1.0.0
|
||||
*/
|
||||
@ -21035,8 +21035,8 @@ class basic_json
|
||||
|
||||
@liveexample{The following code shows an example for `contains()`.,contains}
|
||||
|
||||
@sa @ref find(KeyT&&) -- returns an iterator to an object element
|
||||
@sa @ref contains(const json_pointer&) const -- checks the existence for a JSON pointer
|
||||
@sa see @ref find(KeyT&&) -- returns an iterator to an object element
|
||||
@sa see @ref contains(const json_pointer&) const -- checks the existence for a JSON pointer
|
||||
|
||||
@since version 3.6.0
|
||||
*/
|
||||
@ -21069,7 +21069,7 @@ class basic_json
|
||||
|
||||
@liveexample{The following code shows an example for `contains()`.,contains_json_pointer}
|
||||
|
||||
@sa @ref contains(KeyT &&) const -- checks the existence of a key
|
||||
@sa see @ref contains(KeyT &&) const -- checks the existence of a key
|
||||
|
||||
@since version 3.7.0
|
||||
*/
|
||||
@ -21106,9 +21106,9 @@ class basic_json
|
||||
|
||||
@liveexample{The following code shows an example for `begin()`.,begin}
|
||||
|
||||
@sa @ref cbegin() -- returns a const iterator to the beginning
|
||||
@sa @ref end() -- returns an iterator to the end
|
||||
@sa @ref cend() -- returns a const iterator to the end
|
||||
@sa see @ref cbegin() -- returns a const iterator to the beginning
|
||||
@sa see @ref end() -- returns an iterator to the end
|
||||
@sa see @ref cend() -- returns a const iterator to the end
|
||||
|
||||
@since version 1.0.0
|
||||
*/
|
||||
@ -21146,9 +21146,9 @@ class basic_json
|
||||
|
||||
@liveexample{The following code shows an example for `cbegin()`.,cbegin}
|
||||
|
||||
@sa @ref begin() -- returns an iterator to the beginning
|
||||
@sa @ref end() -- returns an iterator to the end
|
||||
@sa @ref cend() -- returns a const iterator to the end
|
||||
@sa see @ref begin() -- returns an iterator to the beginning
|
||||
@sa see @ref end() -- returns an iterator to the end
|
||||
@sa see @ref cend() -- returns a const iterator to the end
|
||||
|
||||
@since version 1.0.0
|
||||
*/
|
||||
@ -21177,9 +21177,9 @@ class basic_json
|
||||
|
||||
@liveexample{The following code shows an example for `end()`.,end}
|
||||
|
||||
@sa @ref cend() -- returns a const iterator to the end
|
||||
@sa @ref begin() -- returns an iterator to the beginning
|
||||
@sa @ref cbegin() -- returns a const iterator to the beginning
|
||||
@sa see @ref cend() -- returns a const iterator to the end
|
||||
@sa see @ref begin() -- returns an iterator to the beginning
|
||||
@sa see @ref cbegin() -- returns a const iterator to the beginning
|
||||
|
||||
@since version 1.0.0
|
||||
*/
|
||||
@ -21217,9 +21217,9 @@ class basic_json
|
||||
|
||||
@liveexample{The following code shows an example for `cend()`.,cend}
|
||||
|
||||
@sa @ref end() -- returns an iterator to the end
|
||||
@sa @ref begin() -- returns an iterator to the beginning
|
||||
@sa @ref cbegin() -- returns a const iterator to the beginning
|
||||
@sa see @ref end() -- returns an iterator to the end
|
||||
@sa see @ref begin() -- returns an iterator to the beginning
|
||||
@sa see @ref cbegin() -- returns a const iterator to the beginning
|
||||
|
||||
@since version 1.0.0
|
||||
*/
|
||||
@ -21247,9 +21247,9 @@ class basic_json
|
||||
|
||||
@liveexample{The following code shows an example for `rbegin()`.,rbegin}
|
||||
|
||||
@sa @ref crbegin() -- returns a const reverse iterator to the beginning
|
||||
@sa @ref rend() -- returns a reverse iterator to the end
|
||||
@sa @ref crend() -- returns a const reverse iterator to the end
|
||||
@sa see @ref crbegin() -- returns a const reverse iterator to the beginning
|
||||
@sa see @ref rend() -- returns a reverse iterator to the end
|
||||
@sa see @ref crend() -- returns a const reverse iterator to the end
|
||||
|
||||
@since version 1.0.0
|
||||
*/
|
||||
@ -21284,9 +21284,9 @@ class basic_json
|
||||
|
||||
@liveexample{The following code shows an example for `rend()`.,rend}
|
||||
|
||||
@sa @ref crend() -- returns a const reverse iterator to the end
|
||||
@sa @ref rbegin() -- returns a reverse iterator to the beginning
|
||||
@sa @ref crbegin() -- returns a const reverse iterator to the beginning
|
||||
@sa see @ref crend() -- returns a const reverse iterator to the end
|
||||
@sa see @ref rbegin() -- returns a reverse iterator to the beginning
|
||||
@sa see @ref crbegin() -- returns a const reverse iterator to the beginning
|
||||
|
||||
@since version 1.0.0
|
||||
*/
|
||||
@ -21321,9 +21321,9 @@ class basic_json
|
||||
|
||||
@liveexample{The following code shows an example for `crbegin()`.,crbegin}
|
||||
|
||||
@sa @ref rbegin() -- returns a reverse iterator to the beginning
|
||||
@sa @ref rend() -- returns a reverse iterator to the end
|
||||
@sa @ref crend() -- returns a const reverse iterator to the end
|
||||
@sa see @ref rbegin() -- returns a reverse iterator to the beginning
|
||||
@sa see @ref rend() -- returns a reverse iterator to the end
|
||||
@sa see @ref crend() -- returns a const reverse iterator to the end
|
||||
|
||||
@since version 1.0.0
|
||||
*/
|
||||
@ -21350,9 +21350,9 @@ class basic_json
|
||||
|
||||
@liveexample{The following code shows an example for `crend()`.,crend}
|
||||
|
||||
@sa @ref rend() -- returns a reverse iterator to the end
|
||||
@sa @ref rbegin() -- returns a reverse iterator to the beginning
|
||||
@sa @ref crbegin() -- returns a const reverse iterator to the beginning
|
||||
@sa see @ref rend() -- returns a reverse iterator to the end
|
||||
@sa see @ref rbegin() -- returns a reverse iterator to the beginning
|
||||
@sa see @ref crbegin() -- returns a const reverse iterator to the beginning
|
||||
|
||||
@since version 1.0.0
|
||||
*/
|
||||
@ -21563,7 +21563,7 @@ class basic_json
|
||||
- The complexity is constant.
|
||||
- Has the semantics of `begin() == end()`.
|
||||
|
||||
@sa @ref size() -- returns the number of elements
|
||||
@sa see @ref size() -- returns the number of elements
|
||||
|
||||
@since version 1.0.0
|
||||
*/
|
||||
@ -21635,8 +21635,8 @@ class basic_json
|
||||
- The complexity is constant.
|
||||
- Has the semantics of `std::distance(begin(), end())`.
|
||||
|
||||
@sa @ref empty() -- checks whether the container is empty
|
||||
@sa @ref max_size() -- returns the maximal number of elements
|
||||
@sa see @ref empty() -- checks whether the container is empty
|
||||
@sa see @ref max_size() -- returns the maximal number of elements
|
||||
|
||||
@since version 1.0.0
|
||||
*/
|
||||
@ -21707,7 +21707,7 @@ class basic_json
|
||||
- Has the semantics of returning `b.size()` where `b` is the largest
|
||||
possible JSON value.
|
||||
|
||||
@sa @ref size() -- returns the number of elements
|
||||
@sa see @ref size() -- returns the number of elements
|
||||
|
||||
@since version 1.0.0
|
||||
*/
|
||||
@ -21777,7 +21777,7 @@ class basic_json
|
||||
|
||||
@exceptionsafety No-throw guarantee: this function never throws exceptions.
|
||||
|
||||
@sa @ref basic_json(value_t) -- constructor that creates an object with the
|
||||
@sa see @ref basic_json(value_t) -- constructor that creates an object with the
|
||||
same value than calling `clear()`
|
||||
|
||||
@since version 1.0.0
|
||||
@ -23551,8 +23551,8 @@ class basic_json
|
||||
@liveexample{The following code exemplifies `type_name()` for all JSON
|
||||
types.,type_name}
|
||||
|
||||
@sa @ref type() -- return the type of the JSON value
|
||||
@sa @ref operator value_t() -- return the type of the JSON value (implicit)
|
||||
@sa see @ref type() -- return the type of the JSON value
|
||||
@sa see @ref operator value_t() -- return the type of the JSON value (implicit)
|
||||
|
||||
@since version 1.0.0, public since 2.1.0, `const char*` and `noexcept`
|
||||
since 3.0.0
|
||||
@ -23688,10 +23688,10 @@ class basic_json
|
||||
vector in CBOR format.,to_cbor}
|
||||
|
||||
@sa http://cbor.io
|
||||
@sa @ref from_cbor(detail::input_adapter&&, const bool, const bool, const cbor_tag_handler_t) for the
|
||||
@sa see @ref from_cbor(detail::input_adapter&&, const bool, const bool, const cbor_tag_handler_t) for the
|
||||
analogous deserialization
|
||||
@sa @ref to_msgpack(const basic_json&) for the related MessagePack format
|
||||
@sa @ref to_ubjson(const basic_json&, const bool, const bool) for the
|
||||
@sa see @ref to_msgpack(const basic_json&) for the related MessagePack format
|
||||
@sa see @ref to_ubjson(const basic_json&, const bool, const bool) for the
|
||||
related UBJSON format
|
||||
|
||||
@since version 2.0.9; compact representation of floating-point numbers
|
||||
@ -23785,9 +23785,9 @@ class basic_json
|
||||
vector in MessagePack format.,to_msgpack}
|
||||
|
||||
@sa http://msgpack.org
|
||||
@sa @ref from_msgpack for the analogous deserialization
|
||||
@sa @ref to_cbor(const basic_json& for the related CBOR format
|
||||
@sa @ref to_ubjson(const basic_json&, const bool, const bool) for the
|
||||
@sa see @ref from_msgpack for the analogous deserialization
|
||||
@sa see @ref to_cbor(const basic_json& for the related CBOR format
|
||||
@sa see @ref to_ubjson(const basic_json&, const bool, const bool) for the
|
||||
related UBJSON format
|
||||
|
||||
@since version 2.0.9
|
||||
@ -23888,10 +23888,10 @@ class basic_json
|
||||
vector in UBJSON format.,to_ubjson}
|
||||
|
||||
@sa http://ubjson.org
|
||||
@sa @ref from_ubjson(detail::input_adapter&&, const bool, const bool) for the
|
||||
@sa see @ref from_ubjson(detail::input_adapter&&, const bool, const bool) for the
|
||||
analogous deserialization
|
||||
@sa @ref to_cbor(const basic_json& for the related CBOR format
|
||||
@sa @ref to_msgpack(const basic_json&) for the related MessagePack format
|
||||
@sa see @ref to_cbor(const basic_json& for the related CBOR format
|
||||
@sa see @ref to_msgpack(const basic_json&) for the related MessagePack format
|
||||
|
||||
@since version 3.1.0
|
||||
*/
|
||||
@ -23966,12 +23966,12 @@ class basic_json
|
||||
vector in BSON format.,to_bson}
|
||||
|
||||
@sa http://bsonspec.org/spec.html
|
||||
@sa @ref from_bson(detail::input_adapter&&, const bool strict) for the
|
||||
@sa see @ref from_bson(detail::input_adapter&&, const bool strict) for the
|
||||
analogous deserialization
|
||||
@sa @ref to_ubjson(const basic_json&, const bool, const bool) for the
|
||||
@sa see @ref to_ubjson(const basic_json&, const bool, const bool) for the
|
||||
related UBJSON format
|
||||
@sa @ref to_cbor(const basic_json&) for the related CBOR format
|
||||
@sa @ref to_msgpack(const basic_json&) for the related MessagePack format
|
||||
@sa see @ref to_cbor(const basic_json&) for the related CBOR format
|
||||
@sa see @ref to_msgpack(const basic_json&) for the related MessagePack format
|
||||
*/
|
||||
static std::vector<uint8_t> to_bson(const basic_json& j)
|
||||
{
|
||||
@ -23986,7 +23986,7 @@ class basic_json
|
||||
@param j The JSON object to convert to BSON.
|
||||
@param o The output adapter that receives the binary BSON representation.
|
||||
@pre The input `j` shall be an object: `j.is_object() == true`
|
||||
@sa @ref to_bson(const basic_json&)
|
||||
@sa see @ref to_bson(const basic_json&)
|
||||
*/
|
||||
static void to_bson(const basic_json& j, detail::output_adapter<uint8_t> o)
|
||||
{
|
||||
@ -24093,10 +24093,10 @@ class basic_json
|
||||
format to a JSON value.,from_cbor}
|
||||
|
||||
@sa http://cbor.io
|
||||
@sa @ref to_cbor(const basic_json&) for the analogous serialization
|
||||
@sa @ref from_msgpack(detail::input_adapter&&, const bool, const bool) for the
|
||||
@sa see @ref to_cbor(const basic_json&) for the analogous serialization
|
||||
@sa see @ref from_msgpack(detail::input_adapter&&, const bool, const bool) for the
|
||||
related MessagePack format
|
||||
@sa @ref from_ubjson(detail::input_adapter&&, const bool, const bool) for the
|
||||
@sa see @ref from_ubjson(detail::input_adapter&&, const bool, const bool) for the
|
||||
related UBJSON format
|
||||
|
||||
@since version 2.0.9; parameter @a start_index since 2.1.1; changed to
|
||||
@ -24234,12 +24234,12 @@ class basic_json
|
||||
MessagePack format to a JSON value.,from_msgpack}
|
||||
|
||||
@sa http://msgpack.org
|
||||
@sa @ref to_msgpack(const basic_json&) for the analogous serialization
|
||||
@sa @ref from_cbor(detail::input_adapter&&, const bool, const bool, const cbor_tag_handler_t) for the
|
||||
@sa see @ref to_msgpack(const basic_json&) for the analogous serialization
|
||||
@sa see @ref from_cbor(detail::input_adapter&&, const bool, const bool, const cbor_tag_handler_t) for the
|
||||
related CBOR format
|
||||
@sa @ref from_ubjson(detail::input_adapter&&, const bool, const bool) for
|
||||
@sa see @ref from_ubjson(detail::input_adapter&&, const bool, const bool) for
|
||||
the related UBJSON format
|
||||
@sa @ref from_bson(detail::input_adapter&&, const bool, const bool) for
|
||||
@sa see @ref from_bson(detail::input_adapter&&, const bool, const bool) for
|
||||
the related BSON format
|
||||
|
||||
@since version 2.0.9; parameter @a start_index since 2.1.1; changed to
|
||||
@ -24352,13 +24352,13 @@ class basic_json
|
||||
UBJSON format to a JSON value.,from_ubjson}
|
||||
|
||||
@sa http://ubjson.org
|
||||
@sa @ref to_ubjson(const basic_json&, const bool, const bool) for the
|
||||
@sa see @ref to_ubjson(const basic_json&, const bool, const bool) for the
|
||||
analogous serialization
|
||||
@sa @ref from_cbor(detail::input_adapter&&, const bool, const bool, const cbor_tag_handler_t) for the
|
||||
@sa see @ref from_cbor(detail::input_adapter&&, const bool, const bool, const cbor_tag_handler_t) for the
|
||||
related CBOR format
|
||||
@sa @ref from_msgpack(detail::input_adapter&&, const bool, const bool) for
|
||||
@sa see @ref from_msgpack(detail::input_adapter&&, const bool, const bool) for
|
||||
the related MessagePack format
|
||||
@sa @ref from_bson(detail::input_adapter&&, const bool, const bool) for
|
||||
@sa see @ref from_bson(detail::input_adapter&&, const bool, const bool) for
|
||||
the related BSON format
|
||||
|
||||
@since version 3.1.0; added @a allow_exceptions parameter since 3.2.0
|
||||
@ -24468,12 +24468,12 @@ class basic_json
|
||||
BSON format to a JSON value.,from_bson}
|
||||
|
||||
@sa http://bsonspec.org/spec.html
|
||||
@sa @ref to_bson(const basic_json&) for the analogous serialization
|
||||
@sa @ref from_cbor(detail::input_adapter&&, const bool, const bool, const cbor_tag_handler_t) for the
|
||||
@sa see @ref to_bson(const basic_json&) for the analogous serialization
|
||||
@sa see @ref from_cbor(detail::input_adapter&&, const bool, const bool, const cbor_tag_handler_t) for the
|
||||
related CBOR format
|
||||
@sa @ref from_msgpack(detail::input_adapter&&, const bool, const bool) for
|
||||
@sa see @ref from_msgpack(detail::input_adapter&&, const bool, const bool) for
|
||||
the related MessagePack format
|
||||
@sa @ref from_ubjson(detail::input_adapter&&, const bool, const bool) for the
|
||||
@sa see @ref from_ubjson(detail::input_adapter&&, const bool, const bool) for the
|
||||
related UBJSON format
|
||||
*/
|
||||
template<typename InputType>
|
||||
@ -24706,7 +24706,7 @@ class basic_json
|
||||
@liveexample{The following code shows how a JSON object is flattened to an
|
||||
object whose keys consist of JSON pointers.,flatten}
|
||||
|
||||
@sa @ref unflatten() for the reverse function
|
||||
@sa see @ref unflatten() for the reverse function
|
||||
|
||||
@since version 2.0.0
|
||||
*/
|
||||
@ -24743,7 +24743,7 @@ class basic_json
|
||||
@liveexample{The following code shows how a flattened JSON object is
|
||||
unflattened into the original nested JSON object.,unflatten}
|
||||
|
||||
@sa @ref flatten() for the reverse function
|
||||
@sa see @ref flatten() for the reverse function
|
||||
|
||||
@since version 2.0.0
|
||||
*/
|
||||
@ -24801,7 +24801,7 @@ class basic_json
|
||||
@liveexample{The following code shows how a JSON patch is applied to a
|
||||
value.,patch}
|
||||
|
||||
@sa @ref diff -- create a JSON patch by comparing two JSON values
|
||||
@sa see @ref diff -- create a JSON patch by comparing two JSON values
|
||||
|
||||
@sa [RFC 6902 (JSON Patch)](https://tools.ietf.org/html/rfc6902)
|
||||
@sa [RFC 6901 (JSON Pointer)](https://tools.ietf.org/html/rfc6901)
|
||||
@ -25096,8 +25096,8 @@ class basic_json
|
||||
@liveexample{The following code shows how a JSON patch is created as a
|
||||
diff for two JSON values.,diff}
|
||||
|
||||
@sa @ref patch -- apply a JSON patch
|
||||
@sa @ref merge_patch -- apply a JSON Merge Patch
|
||||
@sa see @ref patch -- apply a JSON patch
|
||||
@sa see @ref merge_patch -- apply a JSON Merge Patch
|
||||
|
||||
@sa [RFC 6902 (JSON Patch)](https://tools.ietf.org/html/rfc6902)
|
||||
|
||||
@ -25274,7 +25274,7 @@ class basic_json
|
||||
@liveexample{The following code shows how a JSON Merge Patch is applied to
|
||||
a JSON document.,merge_patch}
|
||||
|
||||
@sa @ref patch -- apply a JSON patch
|
||||
@sa see @ref patch -- apply a JSON patch
|
||||
@sa [RFC 7396 (JSON Merge Patch)](https://tools.ietf.org/html/rfc7396)
|
||||
|
||||
@since version 3.0.0
|
||||
|
||||
Loading…
Reference in New Issue
Block a user