[
https://issues.apache.org/jira/browse/AVRO-1396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Doug Cutting updated AVRO-1396:
-------------------------------
Attachment: AVRO-1396.patch
Oops. I accidentally committed an earlier version of AVRO-1397 that didn't
include the support needed here. Here's the combined patch that amends that.
> Add JSON pretty option for tojson in avro-tools
> -----------------------------------------------
>
> Key: AVRO-1396
> URL: https://issues.apache.org/jira/browse/AVRO-1396
> Project: Avro
> Issue Type: New Feature
> Components: java
> Affects Versions: 1.7.5
> Reporter: Rob Turner
> Assignee: Rob Turner
> Priority: Minor
> Attachments: AVRO-1396.patch, AVRO-1396.patch
>
>
> It would be useful for the "tojson" Avro tool to optionally output pretty
> printed JSON making it more human readable when necessary. The reverse
> "fromjson" would still be able to work.
> bq. avro-tools tojson -pretty file.avro
--
This message was sent by Atlassian JIRA
(v6.1.4#6159)