Searched refs:basic_json (Results 1 – 25 of 135) sorted by relevance
123456
| /third_party/json/doc/ |
| D | index.md | 8 - @link nlohmann::basic_json `basic_json`@endlink -- class template for JSON values 9 …hmann::json `json`@endlink -- the default specialization of `basic_json`, defined as `basic_json<>` 12 - @link nlohmann::basic_json::dump dump @endlink -- value serialization 13 - @link nlohmann::basic_json::type type @endlink -- type of the value 14 - @link nlohmann::basic_json::is_primitive is_primitive @endlink, 15 @link nlohmann::basic_json::is_structured is_structured @endlink, 16 @link nlohmann::basic_json::is_null is_null @endlink, 17 @link nlohmann::basic_json::is_boolean is_boolean @endlink, 18 @link nlohmann::basic_json::is_number is_number @endlink, 19 @link nlohmann::basic_json::is_number_integer is_number_integer @endlink, [all …]
|
| /third_party/json/doc/mkdocs/docs/api/basic_json/ |
| D | invalid_iterator.md | 1 # basic_json::invalid_iterator 12 std::exception <|-- basic_json::exception 13 basic_json::exception <|-- basic_json::parse_error 14 basic_json::exception <|-- basic_json::invalid_iterator 15 basic_json::exception <|-- basic_json::type_error 16 basic_json::exception <|-- basic_json::out_of_range 17 basic_json::exception <|-- basic_json::other_error 21 class basic_json::exception { 26 class basic_json::parse_error { 30 class basic_json::invalid_iterator #FFFF00 {}
|
| D | other_error.md | 1 # basic_json::other_error 12 std::exception <|-- basic_json::exception 13 basic_json::exception <|-- basic_json::parse_error 14 basic_json::exception <|-- basic_json::invalid_iterator 15 basic_json::exception <|-- basic_json::type_error 16 basic_json::exception <|-- basic_json::out_of_range 17 basic_json::exception <|-- basic_json::other_error 21 class basic_json::exception { 26 class basic_json::parse_error { 30 class basic_json::other_error #FFFF00 {}
|
| D | out_of_range.md | 1 # basic_json::out_of_range 13 std::exception <|-- basic_json::exception 14 basic_json::exception <|-- basic_json::parse_error 15 basic_json::exception <|-- basic_json::invalid_iterator 16 basic_json::exception <|-- basic_json::type_error 17 basic_json::exception <|-- basic_json::out_of_range 18 basic_json::exception <|-- basic_json::other_error 22 class basic_json::exception { 27 class basic_json::parse_error { 31 class basic_json::out_of_range #FFFF00 {}
|
| D | type_error.md | 1 # basic_json::type_error 13 std::exception <|-- basic_json::exception 14 basic_json::exception <|-- basic_json::parse_error 15 basic_json::exception <|-- basic_json::invalid_iterator 16 basic_json::exception <|-- basic_json::type_error 17 basic_json::exception <|-- basic_json::out_of_range 18 basic_json::exception <|-- basic_json::other_error 22 class basic_json::exception { 27 class basic_json::parse_error { 31 class basic_json::type_error #FFFF00 {}
|
| D | exception.md | 1 # basic_json::exception 8 …ception ids. It is used as the base class for all exceptions thrown by the `basic_json` class. This 12 std::exception <|-- basic_json::exception 13 basic_json::exception <|-- basic_json::parse_error 14 basic_json::exception <|-- basic_json::invalid_iterator 15 basic_json::exception <|-- basic_json::type_error 16 basic_json::exception <|-- basic_json::out_of_range 17 basic_json::exception <|-- basic_json::other_error 21 class basic_json::exception #FFFF00 { 26 class basic_json::parse_error {
|
| D | parse_error.md | 1 # basic_json::parse_error 13 std::exception <|-- basic_json::exception 14 basic_json::exception <|-- basic_json::parse_error 15 basic_json::exception <|-- basic_json::invalid_iterator 16 basic_json::exception <|-- basic_json::type_error 17 basic_json::exception <|-- basic_json::out_of_range 18 basic_json::exception <|-- basic_json::other_error 22 class basic_json::exception { 27 class basic_json::parse_error #FFFF00 {
|
| D | array_t.md | 1 # basic_json::array_t 4 using array_t = ArrayType<basic_json, AllocatorType<basic_json>>; 31 basic_json, // value_type 32 std::allocator<basic_json> // allocator_type 47 Arrays are stored as pointers in a `basic_json` type. That is, for any access to array values, a po…
|
| D | get.md | 1 # basic_json::get 36 - `ValueType` is not `basic_json`, 38 `void from_json(const basic_json&, ValueType&)`, and 40 `ValueType from_json(const basic_json&)` 53 - `ValueType` is not `basic_json` and 55 `ValueType from_json(const basic_json&)` 59 2. Overload for `basic_json` specializations. The function is equivalent to executing 72 : a specialization of `basic_json` 135 2. Since version 2.1.0. Extended to work with other specializations of `basic_json` in version 3.2.…
|
| D | basic_json.md | 1 # basic_json::basic_json 5 basic_json(const value_t v); 8 basic_json(std::nullptr_t = nullptr) noexcept; 12 basic_json(CompatibleType&& val) noexcept(noexcept( 18 basic_json(const BasicJsonType& val); 21 basic_json(initializer_list_t init, 26 basic_json(size_type cnt, const basic_json& val); 29 basic_json(iterator first, iterator last); 30 basic_json(const_iterator first, const_iterator last); 33 basic_json(const basic_json& other); [all …]
|
| D | object_t.md | 1 # basic_json::object_t 5 basic_json, 7 AllocatorType<std::pair<const StringType, basic_json>>>; 41 basic_json, // value_type 43 std::allocator<std::pair<const std::string, basic_json>> // allocator_type 49 basic_json, // value_type 51 std::allocator<std::pair<const std::string, basic_json>> // allocator_type 85 Objects are stored as pointers in a `basic_json` type. That is, for any access to object values, a …
|
| D | binary.md | 1 # basic_json::binary 5 static basic_json binary(const typename binary_t::container_type& init); 6 static basic_json binary(typename binary_t::container_type&& init); 9 static basic_json binary(const typename binary_t::container_type& init, 11 static basic_json binary(typename binary_t::container_type&& init,
|
| D | clear.md | 1 # basic_json::clear 7 … of a JSON value and resets it to the default value as if [`basic_json(value_t)`](basic_json.md) w… 23 *this = basic_json(type());
|
| D | ~basic_json.md | 1 # basic_json::~basic_json 4 ~basic_json() noexcept
|
| D | to_msgpack.md | 1 # basic_json::to_msgpack 5 static std::vector<std::uint8_t> to_msgpack(const basic_json& j); 8 static void to_msgpack(const basic_json& j, detail::output_adapter<std::uint8_t> o); 9 static void to_msgpack(const basic_json& j, detail::output_adapter<char> o);
|
| D | diff.md | 1 # basic_json::diff 4 static basic_json diff(const basic_json& source, 5 const basic_json& target);
|
| D | to_bson.md | 1 # basic_json::to_bson 5 static std::vector<std::uint8_t> to_bson(const basic_json& j); 8 static void to_bson(const basic_json& j, detail::output_adapter<std::uint8_t> o); 9 static void to_bson(const basic_json& j, detail::output_adapter<char> o);
|
| D | to_cbor.md | 1 # basic_json::to_cbor 5 static std::vector<std::uint8_t> to_cbor(const basic_json& j); 8 static void to_cbor(const basic_json& j, detail::output_adapter<std::uint8_t> o); 9 static void to_cbor(const basic_json& j, detail::output_adapter<char> o);
|
| D | array.md | 1 # basic_json::array 4 static basic_json array(initializer_list_t init = {}); 30 ([`basic_json(initializer_list_t, bool, value_t)`](basic_json.md)). These cases are:
|
| D | object.md | 1 # basic_json::object 4 static basic_json object(initializer_list_t init = {}); 23 `basic_json(initializer_list_t, bool, value_t)`, an array would have been created from the passed i… 38 the initializer list constructor `basic_json(initializer_list_t, bool, value_t)`.
|
| /third_party/json/include/nlohmann/ |
| D | json.hpp | 176 class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-special-member-function… class 180 friend ::nlohmann::json_pointer<basic_json>; 184 friend ::nlohmann::detail::serializer<basic_json>; 202 using lexer = ::nlohmann::detail::lexer_base<basic_json>; 205 static ::nlohmann::detail::parser<basic_json, InputAdapterType> parser( in parser() 207 detail::parser_callback_t<basic_json>cb = nullptr, in parser() 212 return ::nlohmann::detail::parser<basic_json, InputAdapterType>(std::move(adapter), in parser() 230 using binary_reader = ::nlohmann::detail::binary_reader<basic_json, InputType>; 231 …template<typename CharType> using binary_writer = ::nlohmann::detail::binary_writer<basic_json, Ch… 234 using serializer = ::nlohmann::detail::serializer<basic_json>; [all …]
|
| D | json_fwd.hpp | 38 class basic_json; 62 using json = basic_json<>; 74 using ordered_json = basic_json<nlohmann::ordered_map>;
|
| /third_party/json/doc/mkdocs/docs/features/element_access/ |
| D | checked_access.md | 5 …t returns a reference to the desired value if it exists and throws a [`basic_json::out_of_range` e… 67 …gument) or with arrays (with a numeric argument). For other types, a [`basic_json::type_error`](..… 68 …- [`basic_json::out_of_range` exception](../../home/exceptions.md#out-of-range) exceptions are thr… 76 | access to non-existing object key | `basic_json::out_of_range` exception is thrown | `basic_json:… 77 | access to invalid array index | `basic_json::out_of_range` exception is thrown | `basic_json::out…
|
| /third_party/json/doc/mkdocs/docs/features/types/ |
| D | index.md | 11 | object | `std::map<std::string, basic_json>` | 12 | array | `std::vector<basic_json>` | 47 class basic_json { 61 basic_json .. json_value 62 basic_json .. value_t 67 …a types to store a JSON value are derived from the template arguments passed to class `basic_json`: 82 class basic_json; 85 Type `json` is an alias for `basic_json<>` and uses the default types. 91 using object_t = ObjectType<StringType, basic_json, object_comparator_t, 92 AllocatorType<std::pair<const StringType, basic_json>>>; [all …]
|
| D | number_handling.md | 254 [`is_number_integer()`](../../api/basic_json/is_number_integer.md) or 255 [`is_number_unsigned()`](../../api/basic_json/is_number_unsigned.md): 281 - [`is_number()`](../../api/basic_json/is_number.md) returns `#!c true` for any number type 282 - [`is_number_integer()`](../../api/basic_json/is_number_integer.md) returns `#!c true` for signed … 283 - [`is_number_unsigned()`](../../api/basic_json/is_number_unsigned.md) returns `#!c true` for unsig… 284 - [`is_number_float()`](../../api/basic_json/is_number_float.md) returns `#!c true` for floating-po… 285 - [`type_name()`](../../api/basic_json/type_name.md) returns `#!c "number"` for any number type 286 - [`type()`](../../api/basic_json/type.md) returns an different enumerator of 287 [`value_t`](../../api/basic_json/value_t.md) for all number types 291 | [`is_number()`](../../api/basic_json/is_number.md) | `#!c true` | `#!c true` | `#!c true` | `#!c … [all …]
|
123456