title: Split json using NiFi
body: <p>I have a json with all the records with merged I need to split the merged json and load in separate database using NiFi</p>
  
  <p>My file when I execute </p>
  
  <p><code>db.collection.findOne()</code></p>
  
  <p>My input looks like:</p>
  
  <pre><code>[
    {
      "name": "sai",
      "id": 101,
      "company": "adsdr"
    },
    {
      "name": "siva", 
      "id": 102,
      "company": "shar"
    },
    {
      "name": "vanai", 
      "id": 103,
      "company": "ddr"
    },
    {
      "name": "karti",
      "id": 104,
      "company": "sir"
    }
  ] 
  </code></pre>
  
  <p>I am getting all the json. I need to get output as:</p>
  
  <p><code>{name: "sai", id:101, company: "sdr"}</code> </p>
  
  <p>So i only want one record, how can I parse the json using NiFi?</p>