[
https://issues.apache.org/jira/browse/AVRO-1396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13849693#comment-13849693
]
ASF subversion and git services commented on AVRO-1396:
-------------------------------------------------------
Commit 1551338 from [~cutting] in branch 'avro/trunk'
[ https://svn.apache.org/r1551338 ]
AVRO-1396. Java: Enable tojson command-line tool to pretty print output.
Contributed by Rob Turner.
> 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
> Fix For: 1.7.6
>
> 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)