mirror of
https://github.com/apache/nifi.git
synced 2025-02-06 10:08:42 +00:00
a5a5badb88
writing every Object to a new line, or as an array of Objects. Let's assume you have an Avro content as stream of records (record1, record2, ...). If JSON container is "none", the converter will expose the records as sequence of single JSON objects: record1 record2 ... recordN Please bear in mind, that the final output is not a valid JSON content. You can then forward this content e.g. to Kafka, where every record will be a single Kafka message. If JSON container is "array", the output looks like this: [record1,record2,...,recordN] It is useful when you want to convert your Avro content to a valid JSON array. This closes #88 Reviewed and Amended (amendments reviewed by original patch author on github) by Tony Kurc (tkurc@apache.org)