/external/rust/crates/rusqlite/src/types/ |
D | serde_json.rs | 3 use serde_json::Value; 11 Ok(ToSqlOutput::from(serde_json::to_string(self).unwrap())) in to_sql() 19 ValueRef::Text(s) => serde_json::from_slice(s), in column_result() 20 ValueRef::Blob(b) => serde_json::from_slice(b), in column_result() 44 let data: serde_json::Value = serde_json::from_str(json).unwrap(); in test_json_value() 51 let t: serde_json::Value = db in test_json_value() 55 let b: serde_json::Value = db in test_json_value()
|
/external/rust/crates/serde_json/ |
D | README.md | 5 [Latest Version]: https://img.shields.io/crates/v/serde_json.svg 16 serde_json = "1.0" 21 - [JSON API documentation](https://docs.serde.rs/serde_json/) 65 representation. This data structure is [`serde_json::Value`][value]. 78 A string of JSON data can be parsed into a `serde_json::Value` by the 79 [`serde_json::from_str`][from_str] function. There is also 89 use serde_json::{Result, Value}; 103 // Parse the string of data into serde_json::Value. 104 let v: Value = serde_json::from_str(data)?; 128 [`as_str()`]: https://docs.serde.rs/serde_json/enum.Value.html#method.as_str [all …]
|
D | METADATA | 1 name: "serde_json" 6 value: "https://crates.io/crates/serde_json" 10 value: "https://static.crates.io/crates/serde_json/serde_json-1.0.62.crate"
|
D | Cargo.toml.orig | 2 name = "serde_json" 8 documentation = "https://docs.serde.rs/serde_json/" 53 # Make serde_json::Map use a representation which maintains insertion order. 67 # Use an arbitrary precision number representation for serde_json::Number. This 71 # Unlike float_roundtrip, this feature makes JSON -> serde_json::Number -> JSON
|
D | Cargo.toml | 15 name = "serde_json" 20 documentation = "https://docs.serde.rs/serde_json/"
|
/external/rust/crates/uuid/benches/ |
D | serde_support.rs | 5 use serde_json; 16 serde_json::to_writer(&mut buffer as &mut [u8], &uuid).unwrap(); in bench_json_encode() 25 b.iter(|| serde_json::from_str::<Uuid>(s).unwrap()); in bench_json_decode()
|
/external/rust/cxx/book/src/binding/ |
D | slice.md | 96 pretty-print that JSON data into a std::string via the [serde_json] and 99 [serde_json]: https://github.com/serde-rs/json 130 fn prettify_json(input: &[u8], output: Pin<&mut CxxString>) -> serde_json::Result<()> { 132 let mut deserializer = serde_json::Deserializer::from_slice(input); 133 let mut serializer = serde_json::Serializer::pretty(writer); 153 // Prettify using serde_json and serde_transcode.
|
/external/rust/crates/chrono/benches/ |
D | serde.rs | 12 black_box(serde_json::to_string(&dt)).unwrap(); in bench_ser_naivedatetime_string() 24 black_box(serde_json::to_writer(s, &dt)).unwrap(); in bench_ser_naivedatetime_writer()
|
/external/rust/crates/tinytemplate/src/ |
D | lib.rs | 66 extern crate serde_json; 80 use serde_json::Value; 216 let value = serde_json::to_value(context)?; in render()
|
D | template.rs | 7 use serde_json::Value; 385 ::serde_json::to_value(&ctx).unwrap() in context() 810 let context = ::serde_json::to_value(&context).unwrap(); in test_root_print() 828 let context = ::serde_json::to_value(&context).unwrap(); in test_root_branch() 846 let context = ::serde_json::to_value(&context).unwrap(); in test_root_iterate() 864 let context = ::serde_json::to_value(&context).unwrap(); in test_number_truthiness_zero() 882 let context = ::serde_json::to_value(&context).unwrap(); in test_number_truthiness_one() 905 let context = ::serde_json::to_value(&context).unwrap(); in test_indexed_paths() 931 let context = ::serde_json::to_value(&context).unwrap(); in test_indexed_paths_fall_back_to_string_lookup()
|
/external/rust/crates/idna/tests/ |
D | punycode.rs | 11 use serde_json::map::Map; 12 use serde_json::Value;
|
/external/rust/crates/rusqlite/ |
D | Cargo.toml.orig | 85 "serde_json", 103 serde_json = { version = "1.0", optional = true } 148 …lob", "chrono", "collation", "functions", "limits", "load_extension", "serde_json", "time", "trace…
|
D | Cargo.toml | 28 …lob", "chrono", "collation", "functions", "limits", "load_extension", "serde_json", "time", "trace… 90 [dependencies.serde_json] 136 …heck", "functions", "hooks", "i128_blob", "limits", "load_extension", "serde_json", "series", "tra…
|
/external/crosvm/base/src/ |
D | tube.rs | 23 Json(serde_json::Error), 73 let msg_json = serde_json::to_vec(&msg_serialize).map_err(Error::Json)?; in send() 101 || serde_json::from_slice(&msg_json), in recv()
|
/external/rust/crates/url/tests/ |
D | data.rs | 14 use serde_json::Value; 145 let bytes = serde_json::to_vec(url).unwrap(); in check_invariants() 146 let new_url: Url = serde_json::from_slice(&bytes).unwrap(); in check_invariants()
|
/external/crosvm/sys_util/src/ |
D | descriptor_reflection.rs | 448 deserialize_with_descriptors(|| serde_json::from_str(json), &mut safe_descriptors) in deserialize() 468 let json = serde_json::to_string(&v_serialize).unwrap(); in raw() 486 let json = serde_json::to_string(&v_serialize).unwrap(); in file() 506 let json = serde_json::to_string(&v_serialize).unwrap(); in option() 525 let json = serde_json::to_string(&v_serialize).unwrap(); in map()
|
/external/rust/crates/criterion/src/ |
D | fs.rs | 24 let result: A = serde_json::from_str(string.as_str()).map_err(|inner| Error::SerdeError { in load() 65 let buf = serde_json::to_string(&data).map_err(|inner| Error::SerdeError { in save()
|
/external/oss-fuzz/docs/getting-started/new-project-guide/ |
D | rust_lang.md | 53 …google/oss-fuzz/blob/12ef3654b3e9adfd20b5a6afdde54819ba71493d/projects/serde_json/project.yaml#L3-… 68 …google/oss-fuzz/blob/12ef3654b3e9adfd20b5a6afdde54819ba71493d/projects/serde_json/Dockerfile#L18-L… 78 …om/google/oss-fuzz/blob/12ef3654b3e9adfd20b5a6afdde54819ba71493d/projects/serde_json/build.sh#L20):
|
/external/rust/crates/serde_test/ |
D | README.md | 44 serde_json = "1.0" 63 let serialized = serde_json::to_string(&point).unwrap(); 69 let deserialized: Point = serde_json::from_str(&serialized).unwrap();
|
/external/rust/crates/serde/ |
D | README.md | 44 serde_json = "1.0" 63 let serialized = serde_json::to_string(&point).unwrap(); 69 let deserialized: Point = serde_json::from_str(&serialized).unwrap();
|
/external/rust/crates/serde_derive/ |
D | README.md | 44 serde_json = "1.0" 63 let serialized = serde_json::to_string(&point).unwrap(); 69 let deserialized: Point = serde_json::from_str(&serialized).unwrap();
|
/external/crosvm/base/ |
D | Cargo.toml | 15 serde_json = "*"
|
/external/crosvm/sys_util/ |
D | Cargo.toml | 13 serde_json = "1"
|
/external/rust/crates/tinytemplate/ |
D | Cargo.toml.orig | 19 serde_json = "1.0"
|
/external/rust/crates/idna/ |
D | Cargo.toml.orig | 25 serde_json = "1.0"
|