Home
last modified time | relevance | path

Searched full:basic_json (Results 1 – 25 of 194) sorted by relevance

12345678

/third_party/json/docs/mkdocs/
Dmkdocs.yml96 - basic_json:
97 - 'Overview': api/basic_json/index.md
98 - '(Constructor)': api/basic_json/basic_json.md
99 - '(Destructor)': api/basic_json/~basic_json.md
100 - 'accept': api/basic_json/accept.md
101 - 'array': api/basic_json/array.md
102 - 'array_t': api/basic_json/array_t.md
103 - 'at': api/basic_json/at.md
104 - 'back': api/basic_json/back.md
105 - 'begin': api/basic_json/begin.md
[all …]
/third_party/json/docs/docset/
DdocSet.sql15 INSERT INTO searchIndex(name, type, path) VALUES ('basic_json', 'Class', 'api/basic_json/index.html…
16 INSERT INTO searchIndex(name, type, path) VALUES ('basic_json::accept', 'Function', 'api/basic_json
17 INSERT INTO searchIndex(name, type, path) VALUES ('basic_json::array', 'Function', 'api/basic_json/…
18 INSERT INTO searchIndex(name, type, path) VALUES ('basic_json::array_t', 'Type', 'api/basic_json/ar…
19 INSERT INTO searchIndex(name, type, path) VALUES ('basic_json::at', 'Method', 'api/basic_json/at/in…
20 INSERT INTO searchIndex(name, type, path) VALUES ('basic_json::back', 'Method', 'api/basic_json/bac…
21 …NTO searchIndex(name, type, path) VALUES ('basic_json::basic_json', 'Constructor', 'api/basic_json
22 INSERT INTO searchIndex(name, type, path) VALUES ('basic_json::begin', 'Method', 'api/basic_json/be…
23 INSERT INTO searchIndex(name, type, path) VALUES ('basic_json::binary', 'Function', 'api/basic_json
24 INSERT INTO searchIndex(name, type, path) VALUES ('basic_json::binary_t', 'Type', 'api/basic_json/b…
[all …]
/third_party/json/include/nlohmann/
Djson.hpp97 class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-special-member-function… class
110 friend ::nlohmann::detail::serializer<basic_json>;
129 using lexer = ::nlohmann::detail::lexer_base<basic_json>;
132 static ::nlohmann::detail::parser<basic_json, InputAdapterType> parser( in parser()
134 detail::parser_callback_t<basic_json>cb = nullptr, in parser()
139 return ::nlohmann::detail::parser<basic_json, InputAdapterType>(std::move(adapter), in parser()
157 using binary_reader = ::nlohmann::detail::binary_reader<basic_json, InputType>;
158 …template<typename CharType> using binary_writer = ::nlohmann::detail::binary_writer<basic_json, Ch…
161 using serializer = ::nlohmann::detail::serializer<basic_json>;
173 /// helper type for initializer lists of basic_json values
[all …]
/third_party/json/docs/mkdocs/docs/api/basic_json/
Dtype_error.md1 # <small>nlohmann::basic_json::</small>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 {}
Dout_of_range.md1 # <small>nlohmann::basic_json::</small>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 {}
Dother_error.md1 # <small>nlohmann::basic_json::</small>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 {}
Dinvalid_iterator.md1 # <small>nlohmann::basic_json::</small>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 {}
Dexception.md1 # <small>nlohmann::basic_json::</small>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 {
Dparse_error.md1 # <small>nlohmann::basic_json::</small>parse_error
15 std::exception <|-- basic_json::exception
16 basic_json::exception <|-- basic_json::parse_error
17 basic_json::exception <|-- basic_json::invalid_iterator
18 basic_json::exception <|-- basic_json::type_error
19 basic_json::exception <|-- basic_json::out_of_range
20 basic_json::exception <|-- basic_json::other_error
24 class basic_json::exception {
29 class basic_json::parse_error #FFFF00 {
Dbasic_json.md1 # <small>nlohmann::basic_json::</small>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 …]
Dstd_swap.md1 # std::swap<basic_json\>
5 void swap(nlohmann::basic_json& j1, nlohmann::basic_json& j2);
22 void swap(nlohmann::basic_json& j1, nlohmann::basic_json& j2)
51 - Extended for arbitrary basic_json types in version 3.10.5.
Dget.md1 # <small>nlohmann::basic_json::</small>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.…
Darray.md1 # <small>nlohmann::basic_json::</small>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:
55 - [`basic_json(initializer_list_t)`](basic_json.md) - create a JSON value from an initializer list
Dobject.md1 # <small>nlohmann::basic_json::</small>object
4 static basic_json object(initializer_list_t init = {});
27 `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)`.
58 - [`basic_json(initializer_list_t)`](basic_json.md) - create a JSON value from an initializer list
Darray_t.md1 # <small>nlohmann::basic_json::</small>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…
Dobject_t.md1 # <small>nlohmann::basic_json::</small>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 …
Dbinary.md1 # <small>nlohmann::basic_json::</small>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,
/third_party/json/include/nlohmann/detail/
Dvalue_t.hpp33 distinguish the stored values, and the functions @ref basic_json::is_null(),
34 @ref basic_json::is_object(), @ref basic_json::is_array(),
35 @ref basic_json::is_string(), @ref basic_json::is_boolean(),
36 @ref basic_json::is_number() (with @ref basic_json::is_number_integer(),
37 @ref basic_json::is_number_unsigned(), and @ref basic_json::is_number_float()),
38 @ref basic_json::is_discarded(), @ref basic_json::is_primitive(), and
39 @ref basic_json::is_structured() rely on it.
43 @ref basic_json::number_unsigned_t is used for unsigned integers,
44 @ref basic_json::number_integer_t is used for signed integers, and
45 @ref basic_json::number_float_t is used for floating-point numbers or to
[all …]
/third_party/json/docs/mkdocs/docs/integration/
Dmigration_guide.md14 - Function `friend std::istream& operator<<(basic_json&, std::istream&)` is deprecated since 3.0.0.…
15 [`friend std::istream& operator>>(std::istream&, basic_json&)`](../api/operator_gtgt.md) instead.
33 - Passing iterator pairs or pointer/length pairs to parsing functions ([`parse`](../api/basic_json/…
34 [`accept`](../api/basic_json/accept.md), [`sax_parse`](../api/basic_json/sax_parse.md),
35 …[`from_cbor`](../api/basic_json/from_cbor.md), [`from_msgpack`](../api/basic_json/from_msgpack.md),
36 …[`from_ubjson`](../api/basic_json/from_ubjson.md), and [`from_bson`](../api/basic_json/from_bson.m…
94 - Passing a `basic_json` specialization as template parameter `RefStringType` to
101 using my_json = nlohmann::basic_json<std::map, std::vector, my_string_type>;
112 …ias to the `json_pointer` with the appropriate string type for all specializations of `basic_json`.
117 [`items`](../api/basic_json/items.md) instead.
[all …]
/third_party/json/docs/mkdocs/docs/features/types/
Dindex.md11 | 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 …]
Dnumber_handling.md254 [`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 a 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 t…
[all …]
/third_party/json/docs/mkdocs/docs/api/json_sax/
Dindex.md8 This class describes the SAX interface used by [sax_parse](../basic_json/sax_parse.md). Each functi…
15 : a specialization of [`basic_json`](../basic_json/index.md)
19 - [**number_integer_t**](../basic_json/number_integer_t.md) - `BasicJsonType`'s type for numbers (i…
20 - [**number_unsigned_t**](../basic_json/number_unsigned_t.md) - `BasicJsonType`'s type for numbers…
21 - [**number_float_t**](../basic_json/number_float_t.md) - `BasicJsonType`'s type for numbers (float…
22 - [**string_t**](../basic_json/string_t.md) - `BasicJsonType`'s type for strings
23 - [**binary_t**](../basic_json/binary_t.md) - `BasicJsonType`'s type for binary arrays
/third_party/json/docs/mkdocs/docs/features/element_access/
Dchecked_access.md5 The [`at`](../../api/basic_json/at.md) member function performs checked access; that is, it returns…
6 desired value if it exists and throws a [`basic_json::out_of_range` exception](../../home/exception…
78 …- [`at`](../../api/basic_json/at.md) can only be used with objects (with a string argument) or wit…
79 …numeric argument). For other types, a [`basic_json::type_error`](../../home/exceptions.md#jsonexce…
81 …- [`basic_json::out_of_range` exception](../../home/exceptions.md#out-of-range) exceptions are thr…
90 | access to non-existing object key | `basic_json::out_of_range` exception is thrown | `basic_json:…
91 | access to invalid array index | `basic_json::out_of_range` exception is thrown | `basic_json:…
/third_party/json/docs/mkdocs/docs/api/json_pointer/
Dindex.md9 functions [`at`](../basic_json/at.md) and [`operator[]`](../basic_json/operator%5B%5D.md). Furtherm…
19 …ompatibility `RefStringType` may also be a specialization of [`basic_json`](../basic_json/index.md)
20 …in which case `string_t` will be deduced as [`basic_json::string_t`](../basic_json/string_t.md). T…
52 - Changed template parameter from `basic_json` to string type in version 3.11.0.
/third_party/json/docs/mkdocs/docs/api/
Doperator_ltlt.md1 # <small>nlohmann::</small>operator<<(basic_json), <small>nlohmann::</small>operator<<(json_pointer)
4 std::ostream& operator<<(std::ostream& o, const basic_json& j); // (1)
10 [`dump`](basic_json/dump.md) member function.
38 …value is not UTF-8 encoded. Note that unlike the [`dump`](basic_json/dump.md) member functions, no…
50 … Function `#!cpp std::ostream& operator<<(std::ostream& o, const basic_json& j)` replaces function
51 …`#!cpp std::ostream& operator>>(const basic_json& j, std::ostream& o)` which has been deprecated i…
86 `#!cpp std::ostream& operator>>(const basic_json& j, std::ostream& o)` in version 3.0.0.

12345678