You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Rob Turner (JIRA)" <ji...@apache.org> on 2013/12/14 02:16:07 UTC

[jira] [Updated] (AVRO-1396) Add JSON pretty option for tojson in avro-tools

     [ https://issues.apache.org/jira/browse/AVRO-1396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rob Turner updated AVRO-1396:
-----------------------------

    Attachment: AVRO-1396.patch

Please review this patch that resolves this issue.

> 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
>
>
> 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)