FEATURE: Pretty print json output

closes #7
This commit is contained in:
Jeremy Wall 2018-11-18 13:56:38 -06:00
parent 5dbf0eca3f
commit e8e3ffab2c

View File

@ -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(())
}
}