Home
last modified time | relevance | path

Searched refs:as_pretty_json (Results 1 – 23 of 23) sorted by relevance

/dports/devel/racer/racer-2.1.48/cargo-crates/rustc-ap-rustc_errors-722.0.0/src/
H A Djson.rs29 use rustc_serialize::json::{as_json, as_pretty_json};
114 writeln!(&mut self.dst, "{}", as_pretty_json(&data)) in emit_diagnostic()
127 writeln!(&mut self.dst, "{}", as_pretty_json(&data)) in emit_artifact_notification()
152 writeln!(&mut self.dst, "{}", as_pretty_json(&report)) in emit_future_breakage_report()
165 writeln!(&mut self.dst, "{}", as_pretty_json(&data)) in emit_unused_externs()
/dports/devel/racer/racer-2.1.48/cargo-crates/rustc-ap-rustc_errors-718.0.0/src/
H A Djson.rs29 use rustc_serialize::json::{as_json, as_pretty_json};
114 writeln!(&mut self.dst, "{}", as_pretty_json(&data)) in emit_diagnostic()
127 writeln!(&mut self.dst, "{}", as_pretty_json(&data)) in emit_artifact_notification()
152 writeln!(&mut self.dst, "{}", as_pretty_json(&report)) in emit_future_breakage_report()
165 writeln!(&mut self.dst, "{}", as_pretty_json(&data)) in emit_unused_externs()
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_errors/src/
H A Djson.rs29 use rustc_serialize::json::{as_json, as_pretty_json};
114 writeln!(&mut self.dst, "{}", as_pretty_json(&data)) in emit_diagnostic()
127 writeln!(&mut self.dst, "{}", as_pretty_json(&data)) in emit_artifact_notification()
149 writeln!(&mut self.dst, "{}", as_pretty_json(&report)) in emit_future_breakage_report()
162 writeln!(&mut self.dst, "{}", as_pretty_json(&data)) in emit_unused_externs()
/dports/lang/rust/rustc-1.58.1-src/vendor/rustc-ap-rustc_errors/src/
H A Djson.rs29 use rustc_serialize::json::{as_json, as_pretty_json};
114 writeln!(&mut self.dst, "{}", as_pretty_json(&data)) in emit_diagnostic()
127 writeln!(&mut self.dst, "{}", as_pretty_json(&data)) in emit_artifact_notification()
152 writeln!(&mut self.dst, "{}", as_pretty_json(&report)) in emit_future_breakage_report()
165 writeln!(&mut self.dst, "{}", as_pretty_json(&data)) in emit_unused_externs()
/dports/net/rabbiteer/rabbiteer-rs-c881238/src/
H A Doutput.rs68 let js = json::as_pretty_json(&msg); in build_output()
81 let js = json::as_pretty_json(&body); in build_output()
/dports/devel/racer/racer-2.1.48/cargo-crates/rustc-ap-rustc_serialize-718.0.0/tests/
H A Djson.rs252 assert_eq!(json::as_pretty_json(&animal).to_string(), "\"Dog\""); in test_write_enum()
260 json::as_pretty_json(&animal).to_string(), in test_write_enum()
276 let s = json::as_pretty_json(&$value).to_string();
860 write!(&mut mem_buf, "{}", json::as_pretty_json(&hm)).unwrap(); in test_encode_hashmap_with_numeric_key()
875 write!(&mut mem_buf, "{}", json::as_pretty_json(&hm)).unwrap(); in test_prettyencode_hashmap_with_numeric_key()
913 write!(&mut writer, "{}", json::as_pretty_json(&json).indent(i)).unwrap(); in test_prettyencoder_indent_level_param()
/dports/devel/racer/racer-2.1.48/cargo-crates/rustc-ap-rustc_serialize-722.0.0/tests/
H A Djson.rs252 assert_eq!(json::as_pretty_json(&animal).to_string(), "\"Dog\""); in test_write_enum()
260 json::as_pretty_json(&animal).to_string(), in test_write_enum()
276 let s = json::as_pretty_json(&$value).to_string();
860 write!(&mut mem_buf, "{}", json::as_pretty_json(&hm)).unwrap(); in test_encode_hashmap_with_numeric_key()
875 write!(&mut mem_buf, "{}", json::as_pretty_json(&hm)).unwrap(); in test_prettyencode_hashmap_with_numeric_key()
913 write!(&mut writer, "{}", json::as_pretty_json(&json).indent(i)).unwrap(); in test_prettyencoder_indent_level_param()
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_serialize/tests/
H A Djson.rs252 assert_eq!(json::as_pretty_json(&animal).to_string(), "\"Dog\""); in test_write_enum()
260 json::as_pretty_json(&animal).to_string(), in test_write_enum()
276 let s = json::as_pretty_json(&$value).to_string();
860 write!(&mut mem_buf, "{}", json::as_pretty_json(&hm)).unwrap(); in test_encode_hashmap_with_numeric_key()
875 write!(&mut mem_buf, "{}", json::as_pretty_json(&hm)).unwrap(); in test_prettyencode_hashmap_with_numeric_key()
913 write!(&mut writer, "{}", json::as_pretty_json(&json).indent(i)).unwrap(); in test_prettyencoder_indent_level_param()
/dports/lang/rust/rustc-1.58.1-src/vendor/rustc-ap-rustc_serialize/tests/
H A Djson.rs252 assert_eq!(json::as_pretty_json(&animal).to_string(), "\"Dog\""); in test_write_enum()
260 json::as_pretty_json(&animal).to_string(), in test_write_enum()
276 let s = json::as_pretty_json(&$value).to_string();
860 write!(&mut mem_buf, "{}", json::as_pretty_json(&hm)).unwrap(); in test_encode_hashmap_with_numeric_key()
875 write!(&mut mem_buf, "{}", json::as_pretty_json(&hm)).unwrap(); in test_prettyencode_hashmap_with_numeric_key()
913 write!(&mut writer, "{}", json::as_pretty_json(&json).indent(i)).unwrap(); in test_prettyencoder_indent_level_param()
/dports/devel/bingrep/bingrep-0.8.5/cargo-crates/rustc-serialize-0.3.24/src/
H A Djson.rs953 pub fn as_pretty_json<T: Encodable>(t: &T) -> AsPrettyJson<T> { in as_pretty_json() function
2837 format!("{}", super::as_pretty_json(&animal)), in test_write_enum()
2847 format!("{}", super::as_pretty_json(&animal)), in test_write_enum()
2863 let s = format!("{}", super::as_pretty_json(&$value));
3467 let json_str = super::as_pretty_json(&hm).to_string(); in test_encode_hashmap_with_numeric_key()
3484 let json_str = super::as_pretty_json(&hm).to_string(); in test_prettyencode_hashmap_with_numeric_key()
3519 let printed = super::as_pretty_json(&json).indent(i as u32) in test_prettyencoder_indent_level_param()
/dports/lang/spidermonkey60/firefox-60.9.0/third_party/rust/rustc-serialize/src/
H A Djson.rs953 pub fn as_pretty_json<T: Encodable>(t: &T) -> AsPrettyJson<T> { in as_pretty_json() function
2837 format!("{}", super::as_pretty_json(&animal)), in test_write_enum()
2847 format!("{}", super::as_pretty_json(&animal)), in test_write_enum()
2863 let s = format!("{}", super::as_pretty_json(&$value));
3467 let json_str = super::as_pretty_json(&hm).to_string(); in test_encode_hashmap_with_numeric_key()
3484 let json_str = super::as_pretty_json(&hm).to_string(); in test_prettyencode_hashmap_with_numeric_key()
3519 let printed = super::as_pretty_json(&json).indent(i as u32) in test_prettyencoder_indent_level_param()
/dports/audio/lewton/lewton-0.10.2/cargo-crates/rustc-serialize-0.3.24/src/
H A Djson.rs953 pub fn as_pretty_json<T: Encodable>(t: &T) -> AsPrettyJson<T> { in as_pretty_json() function
2837 format!("{}", super::as_pretty_json(&animal)), in test_write_enum()
2847 format!("{}", super::as_pretty_json(&animal)), in test_write_enum()
2863 let s = format!("{}", super::as_pretty_json(&$value));
3467 let json_str = super::as_pretty_json(&hm).to_string(); in test_encode_hashmap_with_numeric_key()
3484 let json_str = super::as_pretty_json(&hm).to_string(); in test_prettyencode_hashmap_with_numeric_key()
3519 let printed = super::as_pretty_json(&json).indent(i as u32) in test_prettyencoder_indent_level_param()
/dports/net/rabbiteer/rabbiteer-rs-c881238/cargo-crates/rustc-serialize-0.3.24/src/
H A Djson.rs953 pub fn as_pretty_json<T: Encodable>(t: &T) -> AsPrettyJson<T> { in as_pretty_json() function
2837 format!("{}", super::as_pretty_json(&animal)), in test_write_enum()
2847 format!("{}", super::as_pretty_json(&animal)), in test_write_enum()
2863 let s = format!("{}", super::as_pretty_json(&$value));
3467 let json_str = super::as_pretty_json(&hm).to_string(); in test_encode_hashmap_with_numeric_key()
3484 let json_str = super::as_pretty_json(&hm).to_string(); in test_prettyencode_hashmap_with_numeric_key()
3519 let printed = super::as_pretty_json(&json).indent(i as u32) in test_prettyencoder_indent_level_param()
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/cargo-crates/rustc-serialize-0.3.24/src/
H A Djson.rs953 pub fn as_pretty_json<T: Encodable>(t: &T) -> AsPrettyJson<T> { in as_pretty_json() function
2837 format!("{}", super::as_pretty_json(&animal)), in test_write_enum()
2847 format!("{}", super::as_pretty_json(&animal)), in test_write_enum()
2863 let s = format!("{}", super::as_pretty_json(&$value));
3467 let json_str = super::as_pretty_json(&hm).to_string(); in test_encode_hashmap_with_numeric_key()
3484 let json_str = super::as_pretty_json(&hm).to_string(); in test_prettyencode_hashmap_with_numeric_key()
3519 let printed = super::as_pretty_json(&json).indent(i as u32) in test_prettyencoder_indent_level_param()
/dports/devel/dtool/dtool-0.11.0/cargo-crates/rustc-serialize-0.3.24/src/
H A Djson.rs953 pub fn as_pretty_json<T: Encodable>(t: &T) -> AsPrettyJson<T> { in as_pretty_json() function
2837 format!("{}", super::as_pretty_json(&animal)), in test_write_enum()
2847 format!("{}", super::as_pretty_json(&animal)), in test_write_enum()
2863 let s = format!("{}", super::as_pretty_json(&$value));
3467 let json_str = super::as_pretty_json(&hm).to_string(); in test_encode_hashmap_with_numeric_key()
3484 let json_str = super::as_pretty_json(&hm).to_string(); in test_prettyencode_hashmap_with_numeric_key()
3519 let printed = super::as_pretty_json(&json).indent(i as u32) in test_prettyencoder_indent_level_param()
/dports/audio/ncspot/ncspot-0.9.3/cargo-crates/rustc-serialize-0.3.24/src/
H A Djson.rs953 pub fn as_pretty_json<T: Encodable>(t: &T) -> AsPrettyJson<T> { in as_pretty_json() function
2837 format!("{}", super::as_pretty_json(&animal)), in test_write_enum()
2847 format!("{}", super::as_pretty_json(&animal)), in test_write_enum()
2863 let s = format!("{}", super::as_pretty_json(&$value));
3467 let json_str = super::as_pretty_json(&hm).to_string(); in test_encode_hashmap_with_numeric_key()
3484 let json_str = super::as_pretty_json(&hm).to_string(); in test_prettyencode_hashmap_with_numeric_key()
3519 let printed = super::as_pretty_json(&json).indent(i as u32) in test_prettyencoder_indent_level_param()
/dports/audio/spotify-tui/spotify-tui-0.25.0/cargo-crates/rustc-serialize-0.3.24/src/
H A Djson.rs953 pub fn as_pretty_json<T: Encodable>(t: &T) -> AsPrettyJson<T> {
2837 format!("{}", super::as_pretty_json(&animal)),
2847 format!("{}", super::as_pretty_json(&animal)),
2863 let s = format!("{}", super::as_pretty_json(&$value));
3467 let json_str = super::as_pretty_json(&hm).to_string();
3484 let json_str = super::as_pretty_json(&hm).to_string();
3519 let printed = super::as_pretty_json(&json).indent(i as u32)
/dports/audio/spotifyd/spotifyd-0.3.0/cargo-crates/rustc-serialize-0.3.24/src/
H A Djson.rs953 pub fn as_pretty_json<T: Encodable>(t: &T) -> AsPrettyJson<T> { in as_pretty_json() function
2837 format!("{}", super::as_pretty_json(&animal)), in test_write_enum()
2847 format!("{}", super::as_pretty_json(&animal)), in test_write_enum()
2863 let s = format!("{}", super::as_pretty_json(&$value));
3467 let json_str = super::as_pretty_json(&hm).to_string(); in test_encode_hashmap_with_numeric_key()
3484 let json_str = super::as_pretty_json(&hm).to_string(); in test_prettyencode_hashmap_with_numeric_key()
3519 let printed = super::as_pretty_json(&json).indent(i as u32) in test_prettyencoder_indent_level_param()
/dports/graphics/svgbob/svgbob-c3e84c87094550d8cdc6fc48b40a00712b2951cb/svgbob_cli/cargo-crates/rustc-serialize-0.3.24/src/
H A Djson.rs953 pub fn as_pretty_json<T: Encodable>(t: &T) -> AsPrettyJson<T> { in as_pretty_json() function
2837 format!("{}", super::as_pretty_json(&animal)), in test_write_enum()
2847 format!("{}", super::as_pretty_json(&animal)), in test_write_enum()
2863 let s = format!("{}", super::as_pretty_json(&$value));
3467 let json_str = super::as_pretty_json(&hm).to_string(); in test_encode_hashmap_with_numeric_key()
3484 let json_str = super::as_pretty_json(&hm).to_string(); in test_prettyencode_hashmap_with_numeric_key()
3519 let printed = super::as_pretty_json(&json).indent(i as u32) in test_prettyencoder_indent_level_param()
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_serialize/src/
H A Djson.rs1111 pub fn as_pretty_json<T>(t: &T) -> AsPrettyJson<'_, T> { in as_pretty_json() function
/dports/devel/racer/racer-2.1.48/cargo-crates/rustc-ap-rustc_serialize-722.0.0/src/
H A Djson.rs1187 pub fn as_pretty_json<T>(t: &T) -> AsPrettyJson<'_, T> { in as_pretty_json() function
/dports/devel/racer/racer-2.1.48/cargo-crates/rustc-ap-rustc_serialize-718.0.0/src/
H A Djson.rs1187 pub fn as_pretty_json<T>(t: &T) -> AsPrettyJson<'_, T> { in as_pretty_json() function
/dports/lang/rust/rustc-1.58.1-src/vendor/rustc-ap-rustc_serialize/src/
H A Djson.rs1187 pub fn as_pretty_json<T>(t: &T) -> AsPrettyJson<'_, T> { in as_pretty_json() function