Searched refs:to_string_pretty (Results 1 – 12 of 12) sorted by relevance
/external/rust/beto-rust/nearby/presence/ldt/examples/ |
D | gen_ldt_xor_pad_test_vectors.rs | 50 println!("{}", serde_json::ser::to_string_pretty(&array).unwrap()); in main()
|
/external/crosvm/tools/impl/catapult_converter/src/ |
D | main.rs | 15 use serde_json::to_string_pretty; 349 let serialized_output = to_string_pretty(&output).expect("Unable to serialize result"); in main()
|
/external/rust/crates/serde_json/src/ |
D | lib.rs | 379 pub use crate::ser::{to_string, to_string_pretty, to_vec, to_vec_pretty};
|
D | ser.rs | 2158 pub fn to_string_pretty<T>(value: &T) -> Result<String> in to_string_pretty() function
|
/external/rust/beto-rust/nearby/presence/ldt_np_adv/src/ |
D | np_adv_test_vectors.rs | 120 println!("{}", serde_json::ser::to_string_pretty(&array).unwrap()); in gen_test_vectors()
|
/external/rust/beto-rust/nearby/presence/np_hkdf/tests/ |
D | test_vectors.rs | 170 println!("{}", serde_json::ser::to_string_pretty(&array).unwrap()); in gen_test_vectors()
|
/external/crosvm/vm_control/src/ |
D | gpu.rs | 139 serde_json::to_string_pretty(&json).map_err(|_| std::fmt::Error)?; in fmt()
|
D | lib.rs | 1892 serde_json::to_string_pretty(&stats) in fmt() 1901 serde_json::to_string_pretty(&wss) in fmt()
|
/external/rust/crates/pest/src/iterators/ |
D | pair.rs | 251 ::serde_json::to_string_pretty(self).expect("Failed to pretty-print Pair to json.") in to_json()
|
D | pairs.rs | 210 ::serde_json::to_string_pretty(self).expect("Failed to pretty-print Pairs to json.") in to_json()
|
/external/rust/crates/serde_json/tests/ |
D | test.rs | 32 from_reader, from_slice, from_str, from_value, json, to_string, to_string_pretty, to_value, 110 let s = to_string_pretty(value).unwrap(); in test_pretty_encode_ok() 114 let s = to_string_pretty(&v).unwrap(); in test_pretty_encode_ok() 1525 let s = to_string_pretty(&vec).unwrap(); in test_serialize_seq_with_no_len() 1613 let s = to_string_pretty(&map).unwrap(); in test_serialize_map_with_no_len()
|
/external/crosvm/src/ |
D | main.rs | 225 match serde_json::to_string_pretty(&response) { in balloon_stats()
|