<?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 Jolt Specification, Apache Nifi in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Jolt-Specification-Apache-Nifi/m-p/294931#M217505</link>
    <description>&lt;DIV class="votecell post-layout--left"&gt;&lt;DIV class="js-voting-container grid fd-column ai-stretch gs4 fc-black-200"&gt;&lt;SPAN&gt;I have the following input format&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="js-voting-container grid fd-column ai-stretch gs4 fc-black-200"&gt;&lt;SPAN&gt;&lt;STRONG&gt;INPUT.JSON&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="js-voting-container grid fd-column ai-stretch gs4 fc-black-200"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;[
    {
        "name": "adam",
        "age": 12,
        "address": {
            "city": "delhi",
            "country": "india",
            "zip": "110011"
        }
    },
    {
        "name": "louis",
        "age": 23,
        "address": {
            "city": "goa",
            "country": "india",
            "zip": "110022"
        }
    }
]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After applying jolt transformation i want to get the following output&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DESIRED OUTPUT.JSON&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;[
    {
        "name": "adam",
        "age": 12,
        "address": {
            "current_city": "delhi",            //change here
            "current_country": "india",         //change here
            "zipode": "110011"                  //change here
        }
    },

    {
        "name": "louis",
        "age": 23,
        "address": {
            "current_city": "goa",              //change here
            "current_country": "india",         //change here
            "zipode": "110022"                  //change here
        }
    }
]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Can you please help me with the jolt spec. thanks.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 28 Apr 2020 08:03:24 GMT</pubDate>
    <dc:creator>shivam-optimus</dc:creator>
    <dc:date>2020-04-28T08:03:24Z</dc:date>
    <item>
      <title>Jolt Specification, Apache Nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Jolt-Specification-Apache-Nifi/m-p/294931#M217505</link>
      <description>&lt;DIV class="votecell post-layout--left"&gt;&lt;DIV class="js-voting-container grid fd-column ai-stretch gs4 fc-black-200"&gt;&lt;SPAN&gt;I have the following input format&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="js-voting-container grid fd-column ai-stretch gs4 fc-black-200"&gt;&lt;SPAN&gt;&lt;STRONG&gt;INPUT.JSON&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="js-voting-container grid fd-column ai-stretch gs4 fc-black-200"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;[
    {
        "name": "adam",
        "age": 12,
        "address": {
            "city": "delhi",
            "country": "india",
            "zip": "110011"
        }
    },
    {
        "name": "louis",
        "age": 23,
        "address": {
            "city": "goa",
            "country": "india",
            "zip": "110022"
        }
    }
]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After applying jolt transformation i want to get the following output&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DESIRED OUTPUT.JSON&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;[
    {
        "name": "adam",
        "age": 12,
        "address": {
            "current_city": "delhi",            //change here
            "current_country": "india",         //change here
            "zipode": "110011"                  //change here
        }
    },

    {
        "name": "louis",
        "age": 23,
        "address": {
            "current_city": "goa",              //change here
            "current_country": "india",         //change here
            "zipode": "110022"                  //change here
        }
    }
]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Can you please help me with the jolt spec. thanks.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2020 08:03:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Jolt-Specification-Apache-Nifi/m-p/294931#M217505</guid>
      <dc:creator>shivam-optimus</dc:creator>
      <dc:date>2020-04-28T08:03:24Z</dc:date>
    </item>
    <item>
      <title>Re: Jolt Specification, Apache Nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Jolt-Specification-Apache-Nifi/m-p/298023#M218946</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/77353"&gt;@shivam-optimus&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;[&lt;BR /&gt;  {&lt;BR /&gt;    "operation": "shift",&lt;BR /&gt;    "spec": {&lt;BR /&gt;      "*": {&lt;BR /&gt;        "address": {&lt;BR /&gt;          "city": "[&amp;amp;2].address.current_city",&lt;BR /&gt;          "country": "[&amp;amp;2].address.current_country",&lt;BR /&gt;          "zip": "[&amp;amp;2].address.zipcode"&lt;BR /&gt;        },&lt;BR /&gt;        "*": "[&amp;amp;1].&amp;amp;"&lt;BR /&gt;      }&lt;BR /&gt;    }&lt;BR /&gt;  }&lt;BR /&gt;]&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 14 Jun 2020 13:32:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Jolt-Specification-Apache-Nifi/m-p/298023#M218946</guid>
      <dc:creator>PVVK</dc:creator>
      <dc:date>2020-06-14T13:32:58Z</dc:date>
    </item>
  </channel>
</rss>

