[ 
https://issues.apache.org/jira/browse/NIFI-7289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17068683#comment-17068683
 ] 

Joe Witt commented on NIFI-7289:
--------------------------------

And actually the json record set writer already supports pretty printing.

http://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-record-serialization-services-nar/1.11.4/org.apache.nifi.json.JsonRecordSetWriter/index.html

So if you really want to dump a debug json representation of avro data in 
pretty print form you could use a ConvertRecord processor with an avro reader 
and this json writer in pretty print mode. 

> Added pretty printing to ConvertAvroToJSON processor
> ----------------------------------------------------
>
>                 Key: NIFI-7289
>                 URL: https://issues.apache.org/jira/browse/NIFI-7289
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Core Framework
>    Affects Versions: 1.11.4
>            Reporter: Sébastien Bouchex Bellomié
>            Priority: Minor
>
> Current implementation of ConvertAvroToJSON processor is not able to pretty 
> print a JSON, an option can be neat



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to