Home
last modified time | relevance | path

Searched refs:to_string_pretty (Results 1 – 12 of 12) sorted by relevance

/external/rust/beto-rust/nearby/presence/ldt/examples/
Dgen_ldt_xor_pad_test_vectors.rs50 println!("{}", serde_json::ser::to_string_pretty(&array).unwrap()); in main()
/external/crosvm/tools/impl/catapult_converter/src/
Dmain.rs15 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/
Dlib.rs379 pub use crate::ser::{to_string, to_string_pretty, to_vec, to_vec_pretty};
Dser.rs2158 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/
Dnp_adv_test_vectors.rs120 println!("{}", serde_json::ser::to_string_pretty(&array).unwrap()); in gen_test_vectors()
/external/rust/beto-rust/nearby/presence/np_hkdf/tests/
Dtest_vectors.rs170 println!("{}", serde_json::ser::to_string_pretty(&array).unwrap()); in gen_test_vectors()
/external/crosvm/vm_control/src/
Dgpu.rs139 serde_json::to_string_pretty(&json).map_err(|_| std::fmt::Error)?; in fmt()
Dlib.rs1892 serde_json::to_string_pretty(&stats) in fmt()
1901 serde_json::to_string_pretty(&wss) in fmt()
/external/rust/crates/pest/src/iterators/
Dpair.rs251 ::serde_json::to_string_pretty(self).expect("Failed to pretty-print Pair to json.") in to_json()
Dpairs.rs210 ::serde_json::to_string_pretty(self).expect("Failed to pretty-print Pairs to json.") in to_json()
/external/rust/crates/serde_json/tests/
Dtest.rs32 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/
Dmain.rs225 match serde_json::to_string_pretty(&response) { in balloon_stats()