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

Sean Busbey commented on NIFI-844:
----------------------------------

I only noticed the GenericRecord use, sorry. GenericData.toString is safe, 
though it doesn't specify what the structure of the JSON is. if you're getting 
the result you suggest, it's the lossy one. So long as we point that out in the 
docs (and give a pointer to the conversion processor for folks who need 
non-lossy), I think that's fine.

and yes, the Avro JSON encoding would be substantially more complex. I think 
the encoder in AVRO-1582 would be what you'd want.

> Create Processor to convert Avro to JSON
> ----------------------------------------
>
>                 Key: NIFI-844
>                 URL: https://issues.apache.org/jira/browse/NIFI-844
>             Project: Apache NiFi
>          Issue Type: Task
>          Components: Extensions
>            Reporter: Mark Payne
>            Assignee: Mark Payne
>             Fix For: 0.3.0
>
>         Attachments: 
> 0001-NIFI-844-Initial-import-of-ConvertAvroToJSON-process.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to