<?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: Apache Nifi: Modify JSON Object List in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-Modify-JSON-Object-List/m-p/332078#M231070</link>
    <description>&lt;P&gt;Figured out that it can be done using UpdateRecord processor and concat function&lt;/P&gt;</description>
    <pubDate>Mon, 13 Dec 2021 12:10:47 GMT</pubDate>
    <dc:creator>mohannv</dc:creator>
    <dc:date>2021-12-13T12:10:47Z</dc:date>
    <item>
      <title>Apache Nifi: Modify JSON Object List</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-Modify-JSON-Object-List/m-p/331232#M230851</link>
      <description>&lt;P&gt;I need a small help in modifying the JSON file by a content of its own object.&lt;/P&gt;
&lt;P&gt;My Json array looks like below&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;[
  {
    "firstName": "John",
    "lastName": "Wick"
  },
 {
    "firstName": "Lisa",
    "lastName": "Tandon"
  }
]&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The final output expected is as below&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;[
  {
    "firstName": "John",
    "lastName": "Wick",
    "fullName": "John Wick"
  },
 {
    "firstName": "Lisa",
    "lastName": "Tandon",
    "fullName": "Lisa Tandon"
  }
]&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have tried with ReplaceText, but not able to access content inside Json.&lt;/P&gt;
&lt;P&gt;PS: Won't be able to make Json to attribute and back to AttributeToJson as data is huge considering number of parameters (all not listed above)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can anyone help me what should be replaceText formula or Jolt formula&lt;/P&gt;</description>
      <pubDate>Mon, 29 Nov 2021 15:30:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-Modify-JSON-Object-List/m-p/331232#M230851</guid>
      <dc:creator>mohannv</dc:creator>
      <dc:date>2021-11-29T15:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: Apache Nifi: Modify JSON Object List</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-Modify-JSON-Object-List/m-p/332078#M231070</link>
      <description>&lt;P&gt;Figured out that it can be done using UpdateRecord processor and concat function&lt;/P&gt;</description>
      <pubDate>Mon, 13 Dec 2021 12:10:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-Modify-JSON-Object-List/m-p/332078#M231070</guid>
      <dc:creator>mohannv</dc:creator>
      <dc:date>2021-12-13T12:10:47Z</dc:date>
    </item>
  </channel>
</rss>

