Use indent marshaller for JSON results by default

This commit is contained in:
Dan Sosedoff 2017-08-04 22:10:12 -05:00
parent 7d81998577
commit e44e66a8e8

View File

@ -108,7 +108,7 @@ func (res *Result) CSV() []byte {
}
func (res *Result) JSON() []byte {
data, _ := json.Marshal(res.Format())
data, _ := json.MarshalIndent(res.Format(), "", " ")
return data
}