Home
last modified time | relevance | path

Searched refs:from_bson (Results 1 – 25 of 83) sorted by relevance

1234

/dports/audio/giada/giada-0.17.1/src/deps/json/test/src/
H A Dunit-bson.cpp138 CHECK(json::from_bson(result) == j);
162 CHECK(json::from_bson(result) == j);
186 CHECK(json::from_bson(result) == j);
210 CHECK(json::from_bson(result) == j);
234 CHECK(json::from_bson(result) == j);
257 CHECK(json::from_bson(result) == j);
281 CHECK(json::from_bson(result) == j);
305 CHECK(json::from_bson(result) == j);
659 json j3 = json::from_bson(s);
667 json j3 = json::from_bson(v);
[all …]
H A Dfuzzer-parse_bson.cpp34 json j1 = json::from_bson(vec1); in LLVMFuzzerTestOneInput()
47 json j2 = json::from_bson(vec2); in LLVMFuzzerTestOneInput()
H A Dunit-udt_macro.cpp301 nlohmann::json j2 = nlohmann::json::from_bson(buf);
/dports/devel/nlohmann-json/json-3.10.4/test/src/
H A Dunit-bson.cpp142 CHECK(json::from_bson(result) == j);
166 CHECK(json::from_bson(result) == j);
190 CHECK(json::from_bson(result) == j);
214 CHECK(json::from_bson(result) == j);
238 CHECK(json::from_bson(result) == j);
261 CHECK(json::from_bson(result) == j);
285 CHECK(json::from_bson(result) == j);
309 CHECK(json::from_bson(result) == j);
663 json j3 = json::from_bson(s);
671 json j3 = json::from_bson(v);
[all …]
H A Dfuzzer-parse_bson.cpp34 json j1 = json::from_bson(vec1); in LLVMFuzzerTestOneInput()
47 json j2 = json::from_bson(vec2); in LLVMFuzzerTestOneInput()
H A Dunit-udt_macro.cpp301 nlohmann::json j2 = nlohmann::json::from_bson(buf);
/dports/www/libdatachannel/libdatachannel-0.16.1/deps/json/test/src/
H A Dunit-bson.cpp136 CHECK(json::from_bson(result) == j);
160 CHECK(json::from_bson(result) == j);
184 CHECK(json::from_bson(result) == j);
208 CHECK(json::from_bson(result) == j);
232 CHECK(json::from_bson(result) == j);
255 CHECK(json::from_bson(result) == j);
279 CHECK(json::from_bson(result) == j);
303 CHECK(json::from_bson(result) == j);
597 json j3 = json::from_bson(s);
605 json j3 = json::from_bson(v);
[all …]
H A Dfuzzer-parse_bson.cpp34 json j1 = json::from_bson(vec1); in LLVMFuzzerTestOneInput()
47 json j2 = json::from_bson(vec2); in LLVMFuzzerTestOneInput()
/dports/databases/redisjson/RedisJSON-2.0.6/cargo-crates/bson-0.14.1/tests/modules/
H A Dser.rs11 let f: f64 = from_bson(obj.clone()).unwrap(); in floating_point()
21 let s: String = from_bson(obj.clone()).unwrap(); in string()
31 let arr: Vec<i32> = from_bson(obj.clone()).unwrap(); in arr()
41 let b: bool = from_bson(obj.clone()).unwrap(); in boolean()
51 let i: i32 = from_bson(obj.clone()).unwrap(); in int32()
82 let deser: u8 = from_bson(obj).unwrap(); in uint8_u2i()
86 let deser_max: u8 = from_bson(obj_max).unwrap(); in uint8_u2i()
101 let deser: u16 = from_bson(obj).unwrap(); in uint16_u2i()
105 let deser_max: u16 = from_bson(obj_max).unwrap(); in uint16_u2i()
120 let deser_min: u32 = from_bson(obj_min).unwrap(); in uint32_u2i()
[all …]
/dports/databases/redisjson/RedisJSON-2.0.6/cargo-crates/bson-0.14.1/tests/
H A Dserde.rs76 let xfoo: Foo = bson::from_bson(x).unwrap(); in test_ser_timestamp()
89 let foo: Foo = bson::from_bson(Bson::Document(doc! { in test_de_timestamp()
123 let xfoo: Foo = bson::from_bson(x).unwrap(); in test_ser_datetime()
139 let de_foo = bson::from_bson::<Foo>(b).unwrap(); in test_compat_u2f()
160 let f = bson::from_bson::<Foo>(b).unwrap(); in test_binary_generic_roundtrip()
181 let f = bson::from_bson::<Foo>(b).unwrap(); in test_binary_non_generic_roundtrip()
230 let f = bson::from_bson::<Foo>(b).unwrap(); in test_serde_bytes()
245 let email_2 = bson::from_bson::<Email>(de).unwrap(); in test_serde_newtype_struct()
260 let name_2 = bson::from_bson::<Name>(de).unwrap(); in test_serde_tuple_struct()
280 let num_2 = bson::from_bson::<Number>(de).unwrap(); in test_serde_newtype_variant()
[all …]
/dports/devel/nlohmann-json/json-3.10.4/doc/mkdocs/docs/api/basic_json/
H A Dfrom_bson.md1 # basic_json::from_bson
6 static basic_json from_bson(InputType&& i,
11 static basic_json from_bson(IteratorType first, IteratorType last,
72 --8<-- "examples/from_bson.cpp"
78 --8<-- "examples/from_bson.output"
H A Dindex.md229 - [**from_bson**](from_bson.md) (static) - create a JSON value from an input in BSON format
/dports/audio/giada/giada-0.17.1/src/deps/json/doc/examples/
H A Dfrom_bson.cpp17 json j = json::from_bson(v); in main()
/dports/www/libdatachannel/libdatachannel-0.16.1/deps/json/doc/examples/
H A Dfrom_bson.cpp17 json j = json::from_bson(v); in main()
/dports/devel/nlohmann-json/json-3.10.4/doc/examples/
H A Dfrom_bson.cpp17 json j = json::from_bson(v); in main()
/dports/databases/redisjson/RedisJSON-2.0.6/cargo-crates/bson-0.14.1/src/
H A Dlib.rs49 from_bson,
/dports/audio/giada/giada-0.17.1/src/deps/json/doc/mkdocs/docs/features/binary_formats/
H A Dbson.md87 --8<-- "examples/from_bson.cpp"
93 --8<-- "examples/from_bson.output"
/dports/devel/nlohmann-json/json-3.10.4/doc/mkdocs/docs/features/binary_formats/
H A Dbson.md87 --8<-- "examples/from_bson.cpp"
93 --8<-- "examples/from_bson.output"
/dports/databases/redisjson/RedisJSON-2.0.6/cargo-crates/bson-0.14.1/
H A DREADME.md67 let person = bson::from_bson(bson::Bson::Document(person_document))?
89 let de_foo = bson::from_bson::<Foo>(b).unwrap();
/dports/databases/couchdb3/apache-couchdb-3.2.1/src/mango/src/
H A Dmango_doc.erl17 from_bson/1,
34 from_bson({Props}) -> function
/dports/databases/redisjson/RedisJSON-2.0.6/cargo-crates/bson-0.14.1/src/decoder/
H A Dmod.rs263 pub fn from_bson<'de, T>(bson: Bson) -> DecoderResult<T> in from_bson() function
/dports/multimedia/mkvtoolnix/mkvtoolnix-65.0.0/lib/nlohmann-json/include/nlohmann/
H A Djson.hpp7844 static basic_json from_bson(InputType&& i, in from_bson() function in nlohmann::basic_json
7860 static basic_json from_bson(IteratorType first, IteratorType last, in from_bson() function in nlohmann::basic_json
7873 JSON_HEDLEY_DEPRECATED_FOR(3.8.0, from_bson(ptr, ptr + len))
7874 static basic_json from_bson(const T* ptr, std::size_t len, in from_bson() function in nlohmann::basic_json
7878 return from_bson(ptr, ptr + len, strict, allow_exceptions); in from_bson()
7882 JSON_HEDLEY_DEPRECATED_FOR(3.8.0, from_bson(ptr, ptr + len))
7883 static basic_json from_bson(detail::span_input_adapter&& i, in from_bson() function in nlohmann::basic_json
/dports/editors/jucipp/jucipp-b3b5182258b25835e7c5f683623ab774d8e34c75/lib/json/include/nlohmann/
H A Djson.hpp7992 static basic_json from_bson(InputType&& i, in from_bson() function in nlohmann::basic_json
8008 static basic_json from_bson(IteratorType first, IteratorType last, in from_bson() function in nlohmann::basic_json
8021 JSON_HEDLEY_DEPRECATED_FOR(3.8.0, from_bson(ptr, ptr + len))
8022 static basic_json from_bson(const T* ptr, std::size_t len, in from_bson() function in nlohmann::basic_json
8026 return from_bson(ptr, ptr + len, strict, allow_exceptions); in from_bson()
8030 JSON_HEDLEY_DEPRECATED_FOR(3.8.0, from_bson(ptr, ptr + len))
8031 static basic_json from_bson(detail::span_input_adapter&& i, in from_bson() function in nlohmann::basic_json
/dports/cad/horizon-eda/horizon-2.1.0/3rd_party/nlohmann/
H A Djson.hpp7844 static basic_json from_bson(InputType&& i, in from_bson() function in nlohmann::basic_json
7860 static basic_json from_bson(IteratorType first, IteratorType last, in from_bson() function in nlohmann::basic_json
7873 JSON_HEDLEY_DEPRECATED_FOR(3.8.0, from_bson(ptr, ptr + len))
7874 static basic_json from_bson(const T* ptr, std::size_t len, in from_bson() function in nlohmann::basic_json
7878 return from_bson(ptr, ptr + len, strict, allow_exceptions); in from_bson()
7882 JSON_HEDLEY_DEPRECATED_FOR(3.8.0, from_bson(ptr, ptr + len))
7883 static basic_json from_bson(detail::span_input_adapter&& i, in from_bson() function in nlohmann::basic_json
/dports/audio/giada/giada-0.17.1/src/deps/json/include/nlohmann/
H A Djson.hpp7844 static basic_json from_bson(InputType&& i, in from_bson() function in nlohmann::basic_json
7860 static basic_json from_bson(IteratorType first, IteratorType last, in from_bson() function in nlohmann::basic_json
7873 JSON_HEDLEY_DEPRECATED_FOR(3.8.0, from_bson(ptr, ptr + len))
7874 static basic_json from_bson(const T* ptr, std::size_t len, in from_bson() function in nlohmann::basic_json
7878 return from_bson(ptr, ptr + len, strict, allow_exceptions); in from_bson()
7882 JSON_HEDLEY_DEPRECATED_FOR(3.8.0, from_bson(ptr, ptr + len))
7883 static basic_json from_bson(detail::span_input_adapter&& i, in from_bson() function in nlohmann::basic_json

1234