Home
last modified time | relevance | path

Searched refs:bson (Results 1 – 13 of 13) sorted by relevance

/third_party/json/test/src/
Dunit-bson.cpp770 CHECK(!json::sax_parse(incomplete_bson, &scp, json::input_format_t::bson));
788 CHECK(!json::sax_parse(incomplete_bson, &scp, json::input_format_t::bson));
812 CHECK(!json::sax_parse(incomplete_bson, &scp, json::input_format_t::bson));
829 CHECK(!json::sax_parse(incomplete_bson, &scp, json::input_format_t::bson));
839 CHECK(!json::sax_parse(bson_vec, &scp, json::input_format_t::bson));
850 CHECK(!json::sax_parse(bson_vec, &scp, json::input_format_t::bson));
876 std::vector<std::uint8_t> bson = variable
885 CHECK_THROWS_AS(_ = json::from_bson(bson), json::parse_error&);
886 CHECK_THROWS_WITH(_ = json::from_bson(bson),
888 CHECK(json::from_bson(bson, true, false).is_discarded());
[all …]
/third_party/json/include/nlohmann/detail/input/
Dbinary_reader.hpp104 case input_format_t::bson: in sax_parse()
158 get_number<std::int32_t, true>(input_format_t::bson, document_size); in parse_bson_internal()
186 if (JSON_HEDLEY_UNLIKELY(!unexpect_eof(input_format_t::bson, "cstring"))) in get_bson_cstr()
215 …n, parse_error::create(112, chars_read, exception_message(input_format_t::bson, "string length mus… in get_bson_string()
218 …return get_string(input_format_t::bson, len - static_cast<NumberType>(1), result) && get() != std:… in get_bson_string()
236 …n, parse_error::create(112, chars_read, exception_message(input_format_t::bson, "byte array length… in get_bson_binary()
241 get_number<std::uint8_t>(input_format_t::bson, subtype); in get_bson_binary()
244 return get_binary(input_format_t::bson, len, result); in get_bson_binary()
265 …return get_number<double, true>(input_format_t::bson, number) && sax->number_float(static_cast<num… in parse_bson_element_internal()
272 …return get_number<std::int32_t, true>(input_format_t::bson, len) && get_bson_string(len, value) &&… in parse_bson_element_internal()
[all …]
Dinput_adapters.hpp23 enum class input_format_t { json, cbor, msgpack, ubjson, bson }; enumerator
/third_party/json/doc/mkdocs/docs/features/binary_formats/
Dindex.md5 - [BSON](bson.md) (Binary JSON),
/third_party/json/test/
DCMakeLists.txt99 src/unit-bson.cpp
/third_party/json/doc/mkdocs/docs/features/
Dbinary_values.md121 [BSON](binary_formats/bson.md) supports binary values and subtypes. If a subtype is given, it is us…
/third_party/json/
DMakefile401 find test/data -size -5k -name *.bson | xargs -I{} cp "{}" fuzz-testing/testcases
DREADME.md41 …- [Binary formats (BSON, CBOR, MessagePack, and UBJSON)](#binary-formats-bson-cbor-messagepack-and…
DChangeLog.md73 - Getting size of deserialized bson document [\#2131](https://github.com/nlohmann/json/issues/2131)
/third_party/json/single_include/nlohmann/
Djson.hpp4744 enum class input_format_t { json, cbor, msgpack, ubjson, bson }; enumerator
7743 case input_format_t::bson: in sax_parse()
7797 get_number<std::int32_t, true>(input_format_t::bson, document_size); in parse_bson_internal()
7825 if (JSON_HEDLEY_UNLIKELY(!unexpect_eof(input_format_t::bson, "cstring"))) in get_bson_cstr()
7854 …n, parse_error::create(112, chars_read, exception_message(input_format_t::bson, "string length mus… in get_bson_string()
7857 …return get_string(input_format_t::bson, len - static_cast<NumberType>(1), result) && get() != std:… in get_bson_string()
7875 …n, parse_error::create(112, chars_read, exception_message(input_format_t::bson, "byte array length… in get_bson_binary()
7880 get_number<std::uint8_t>(input_format_t::bson, subtype); in get_bson_binary()
7883 return get_binary(input_format_t::bson, len, result); in get_bson_binary()
7904 …return get_number<double, true>(input_format_t::bson, number) && sax->number_float(static_cast<num… in parse_bson_element_internal()
[all …]
/third_party/json/include/nlohmann/
Djson.hpp7851 …const bool res = binary_reader<decltype(ia)>(std::move(ia)).sax_parse(input_format_t::bson, &sdp, … in from_bson()
7867 …const bool res = binary_reader<decltype(ia)>(std::move(ia)).sax_parse(input_format_t::bson, &sdp, … in from_bson()
7890 …const bool res = binary_reader<decltype(ia)>(std::move(ia)).sax_parse(input_format_t::bson, &sdp, … in from_bson()
/third_party/json/doc/mkdocs/docs/home/
Dreleases.md352 …emented. See [the README](https://github.com/nlohmann/json#binary-formats-bson-cbor-messagepack-an…
/third_party/mindspore/tests/ut/data/mindrecord/testAclImdbData/
Dvocab.txt27356 ##bson