mirror of
https://github.com/zaphar/ucg.git
synced 2025-07-22 18:19:54 -04:00
parent
5dbf0eca3f
commit
e8e3ffab2c
@ -79,7 +79,7 @@ impl JsonConverter {
|
||||
|
||||
fn write(&self, v: &Val, w: &mut Write) -> Result {
|
||||
let jsn_val = try!(self.convert_value(v));
|
||||
try!(serde_json::to_writer(w, &jsn_val));
|
||||
try!(serde_json::to_writer_pretty(w, &jsn_val));
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user