<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: flatten json using nifi in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/flatten-json-using-nifi/m-p/218726#M180627</link>
    <description>&lt;A rel="user" href="https://community.cloudera.com/users/13723/chrisherssens.html" nodeid="13723" target="_blank"&gt;@chris herssens&lt;/A&gt;&lt;P&gt;After convert Avro to json processor use &lt;STRONG&gt;SplitJson&lt;/STRONG&gt; processor with below configurations in it, if your data is having &lt;STRONG&gt;json Array&lt;/STRONG&gt; then &lt;STRONG&gt;SplitJson&lt;/STRONG&gt; processor &lt;STRONG&gt;split the array&lt;/STRONG&gt; and every &lt;STRONG&gt;flowfile&lt;/STRONG&gt; would be &lt;STRONG&gt;single record&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="40809-splitjson.png" style="width: 527px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/16050i4FE18A74ECA2C364/image-size/medium?v=v2&amp;amp;px=400" role="button" title="40809-splitjson.png" alt="40809-splitjson.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;then use &lt;STRONG&gt;JoltTransform&lt;/STRONG&gt; processor to flatten the json record.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Flow:-&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;ConsumeKafka--&amp;gt; convertAvroToJSON--&amp;gt;SplitJSON--&amp;gt;JoltTransform&lt;/PRE&gt;</description>
    <pubDate>Sun, 18 Aug 2019 02:47:23 GMT</pubDate>
    <dc:creator>Shu_ashu</dc:creator>
    <dc:date>2019-08-18T02:47:23Z</dc:date>
  </channel>
</rss>

