/third_party/json/include/nlohmann/detail/input/ |
D | json_sax.hpp | 29 using binary_t = typename BasicJsonType::binary_t; typedef 80 virtual bool binary(binary_t& val) = 0; 161 using binary_t = typename BasicJsonType::binary_t; typedef in nlohmann::detail::json_sax_dom_parser 215 bool binary(binary_t& val) in binary() 335 using binary_t = typename BasicJsonType::binary_t; typedef in nlohmann::detail::json_sax_dom_callback_parser 390 bool binary(binary_t& val) in binary() 642 using binary_t = typename BasicJsonType::binary_t; typedef in nlohmann::detail::json_sax_acceptor 674 bool binary(binary_t& /*unused*/) in binary() argument
|
D | binary_reader.hpp | 65 using binary_t = typename BasicJsonType::binary_t; typedef in nlohmann::detail::binary_reader 235 bool get_bson_binary(const NumberType len, binary_t& result) in get_bson_binary() 292 binary_t value; in parse_bson_element_internal() 550 binary_t b; in parse_cbor_internal() 762 binary_t b; in parse_cbor_internal() 770 … b.set_subtype(detail::conditional_static_cast<typename binary_t::subtype_type>(subtype)); in parse_cbor_internal() 777 … b.set_subtype(detail::conditional_static_cast<typename binary_t::subtype_type>(subtype)); in parse_cbor_internal() 784 … b.set_subtype(detail::conditional_static_cast<typename binary_t::subtype_type>(subtype)); in parse_cbor_internal() 791 … b.set_subtype(detail::conditional_static_cast<typename binary_t::subtype_type>(subtype)); in parse_cbor_internal() 990 bool get_cbor_binary(binary_t& result) in get_cbor_binary() [all …]
|
/third_party/json/test/src/ |
D | unit-pointer_access.cpp | 63 CHECK(value.get_ptr<json::binary_t*>() == nullptr); 92 CHECK(value.get_ptr<const json::binary_t*>() == nullptr); 121 CHECK(value.get_ptr<json::binary_t*>() == nullptr); 150 CHECK(value.get_ptr<const json::binary_t*>() == nullptr); 179 CHECK(value.get_ptr<json::binary_t*>() == nullptr); 208 CHECK(value.get_ptr<const json::binary_t*>() == nullptr); 237 CHECK(value.get_ptr<json::binary_t*>() == nullptr); 266 CHECK(value.get_ptr<const json::binary_t*>() == nullptr); 295 CHECK(value.get_ptr<json::binary_t*>() == nullptr); 324 CHECK(value.get_ptr<const json::binary_t*>() == nullptr); [all …]
|
D | unit-conversions.cpp | 1275 json::binary_t n_reference{{1, 2, 3}}; 1280 json::binary_t b = j.get<json::binary_t>(); 1313 CHECK_THROWS_WITH_AS(j_null.get<json::binary_t>(), 1316 CHECK_THROWS_WITH_AS(j_object.get<json::binary_t>(), 1319 CHECK_THROWS_WITH_AS(j_array.get<json::binary_t>(), 1322 CHECK_THROWS_WITH_AS(j_string.get<json::binary_t>(), 1325 CHECK_THROWS_WITH_AS(j_boolean.get<json::binary_t>(), 1329 CHECK_THROWS_WITH_AS(j_null_const.get<json::binary_t>(), 1332 CHECK_THROWS_WITH_AS(j_object_const.get<json::binary_t>(), 1335 CHECK_THROWS_WITH_AS(j_array_const.get<json::binary_t>(), [all …]
|
D | unit-modifiers.cpp | 972 json::binary_t s = {{5, 6, 7, 8}}; 1000 json::binary_t s1 = {{1, 2, 3, 4}};
|
D | unit-class_parser.cpp | 79 bool binary(json::binary_t& val) in binary() 185 bool binary(json::binary_t& /*val*/) override in binary() argument
|
/third_party/json/include/nlohmann/detail/meta/ |
D | is_sax.hpp | 75 using binary_t = typename BasicJsonType::binary_t; typedef 86 is_detected_exact<bool, binary_function_t, SAX, binary_t>::value && 106 using binary_t = typename BasicJsonType::binary_t; typedef 131 is_detected_exact<bool, binary_function_t, SAX, binary_t>::value,
|
/third_party/json/doc/mkdocs/docs/api/basic_json/ |
D | binary.md | 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, 39 Linear in the size of `init`; constant for `typename binary_t::container_type&& init` versions.
|
D | get_binary.md | 4 binary_t& get_binary(); 6 const binary_t& get_binary() const;
|
D | get_ref.md | 18 …ned_t`](number_unsigned_t.md), [`number_float_t`](number_float_t.md), or [`binary_t`](binary_t.md).
|
D | get_ptr.md | 18 …ned_t`](number_unsigned_t.md), [`number_float_t`](number_float_t.md), or [`binary_t`](binary_t.md).
|
D | binary_t.md | 1 # basic_json::binary_t 4 using binary_t = byte_container_with_subtype<BinaryType>; 48 type `#!cpp binary_t*` must be dereferenced.
|
D | get.md | 77 …ned_t`](number_unsigned_t.md), [`number_float_t`](number_float_t.md), or [`binary_t`](binary_t.md).
|
D | index.md | 39 | `BinaryType` | type for binary arrays | [`binary_t`](binary_t.md) | 87 - [**binary_t**](binary_t.md) - type for binary arrays
|
/third_party/json/doc/mkdocs/docs/features/ |
D | binary_values.md | 10 class json::binary_t { 19 "std::vector<uint8_t>" <|-- json::binary_t 22 …json` type. To store binary subtypes, the storage type is extended and exposed as `json::binary_t`: 25 auto binary = json::binary_t({0xCA, 0xFE, 0xBA, 0xBE}); 26 auto binary_with_subtype = json::binary_t({0xCA, 0xFE, 0xBA, 0xBE}, 42); 44 As `json::binary_t` is subclassing `std::vector<std::uint8_t>`, all member functions are available: 51 JSON values can be constructed from `json::binary_t`: 64 Given a binary JSON value, the `binary_t` can be accessed by reference as via `get_binary()`:
|
/third_party/json/include/nlohmann/ |
D | json.hpp | 921 using binary_t = nlohmann::byte_container_with_subtype<BinaryType>; typedef in nlohmann::basic_json 983 binary_t* binary; 1028 binary = create<binary_t>(); in json_value() 1112 json_value(const typename binary_t::container_type& value) in json_value() 1114 binary = create<binary_t>(value); in json_value() 1118 json_value(typename binary_t::container_type&& value) in json_value() 1120 binary = create<binary_t>(std::move(value)); in json_value() 1124 json_value(const binary_t& value) in json_value() 1126 binary = create<binary_t>(value); in json_value() 1130 json_value(binary_t&& value) in json_value() [all …]
|
/third_party/json/include/nlohmann/detail/conversions/ |
D | to_json.hpp | 84 static void construct(BasicJsonType& j, const typename BasicJsonType::binary_t& b) in construct() 88 j.m_value = typename BasicJsonType::binary_t(b); in construct() 93 static void construct(BasicJsonType& j, typename BasicJsonType::binary_t&& b) in construct() 97 j.m_value = typename BasicJsonType::binary_t(std::move(b)); in construct() 313 … !std::is_same<typename BasicJsonType::binary_t, CompatibleArrayType>::value&& 322 void to_json(BasicJsonType& j, const typename BasicJsonType::binary_t& bin) in to_json()
|
D | from_json.hpp | 248 !std::is_same<ConstructibleArrayType, typename BasicJsonType::binary_t>::value&& 284 void from_json(const BasicJsonType& j, typename BasicJsonType::binary_t& bin) in from_json() 291 bin = *j.template get_ptr<const typename BasicJsonType::binary_t*>(); in from_json()
|
/third_party/json/doc/examples/ |
D | swap__binary_t.cpp | 12 json::binary_t binary = {{4, 5, 6}}; in main()
|
D | sax_parse.cpp | 82 bool binary(json::binary_t& val) override in binary()
|
/third_party/json/single_include/nlohmann/ |
D | json.hpp | 4111 !std::is_same<ConstructibleArrayType, typename BasicJsonType::binary_t>::value&& 4147 void from_json(const BasicJsonType& j, typename BasicJsonType::binary_t& bin) in from_json() 4154 bin = *j.template get_ptr<const typename BasicJsonType::binary_t*>(); in from_json() 4610 static void construct(BasicJsonType& j, const typename BasicJsonType::binary_t& b) in construct() 4614 j.m_value = typename BasicJsonType::binary_t(b); in construct() 4619 static void construct(BasicJsonType& j, typename BasicJsonType::binary_t&& b) in construct() 4623 j.m_value = typename BasicJsonType::binary_t(std::move(b)); in construct() 4839 … !std::is_same<typename BasicJsonType::binary_t, CompatibleArrayType>::value&& 4848 void to_json(BasicJsonType& j, const typename BasicJsonType::binary_t& bin) in to_json() 5843 using binary_t = typename BasicJsonType::binary_t; typedef [all …]
|
/third_party/json/doc/mkdocs/docs/features/types/ |
D | index.md | 40 binary_t* binary 54 + <u>typedef</u> binary_t 104 using binary_t = nlohmann::byte_container_with_subtype<BinaryType>;
|
/third_party/json/include/nlohmann/detail/output/ |
D | binary_writer.hpp | 31 using binary_t = typename BasicJsonType::binary_t; typedef in nlohmann::detail::binary_writer 1097 static std::size_t calc_bson_binary_size(const typename BasicJsonType::binary_t& value) in calc_bson_binary_size() 1125 const binary_t& value) in write_bson_binary()
|
D | serializer.hpp | 46 using binary_char_t = typename BasicJsonType::binary_t::value_type;
|
/third_party/json/doc/mkdocs/docs/features/parsing/ |
D | sax_interface.md | 17 + {abstract} bool binary(binary_t& val)
|