[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13849782#comment-13849782 ] Hudson commented on AVRO-1396: -- SUCCESS: Integrated in AvroJava #410 (See [https://builds.apache.org/job/AvroJava/410/]) AVRO-1396. Java: Enable tojson command-line tool to pretty print output. Contributed by Rob Turner. (cutting: rev 1551338) * /avro/trunk/CHANGES.txt * /avro/trunk/lang/java/avro/src/main/java/org/apache/avro/io/EncoderFactory.java * /avro/trunk/lang/java/avro/src/main/java/org/apache/avro/io/JsonEncoder.java * /avro/trunk/lang/java/tools/src/main/java/org/apache/avro/tool/BinaryFragmentToJsonTool.java * /avro/trunk/lang/java/tools/src/main/java/org/apache/avro/tool/DataFileReadTool.java * /avro/trunk/lang/java/tools/src/main/java/org/apache/avro/tool/JsonToBinaryFragmentTool.java * /avro/trunk/lang/java/tools/src/test/java/org/apache/avro/tool/TestDataFileTools.java * /avro/trunk/lang/java/tools/src/test/java/org/apache/avro/tool/TestJsonToFromBinaryFragmentTools.java > 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)
[jira] [Commented] (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: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)
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13838574#comment-13838574 ] Amith Nambiar commented on AVRO-1396: - Ok, looks like you have done pretty much all of it. Please go ahead and submit the patch. Will look out for other issues to work on. Thanks. > 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 > > 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#6144)
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13836922#comment-13836922 ] Rob Turner commented on AVRO-1396: -- I have submitted a patch for AVRO-1397 that would make this issue a lot easier. If it is accepted then I was going to provide a patch but, Amith if you want to do this then feel free to do so. > 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 > > 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#6144)
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13836161#comment-13836161 ] Amith Nambiar commented on AVRO-1396: - Would like to help with this issue. Let me know how i could help. New to this project. > 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 > > 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#6144)