title: How to map a data to a segment if the data is not in a collection in Kony Studio?
body: <p>I am using <strong>Kony Studio 5.5</strong> for cross platform development. I retrieve data by using a JSON service. I want to print my data in a segment, but I can't map some of it because it is not in a collection.</p>
  
  <pre><code>"chartStat": " CHART NOT PREPARED ",
  "passengers": [{
      "trainBookingBerth": "RAC9  , 8,GN    ",
      "trainCurrentStatus": "   CNF  ",
      "trainPassenger": "Passenger 1"
  }],
  "trainBoard": "Kovilpatti",
  "trainBoardCode": "CVP",
  "trainDest": "Chennai Egmore",
  </code></pre>
  
  <p>In the above payload I can map <code>passengers</code> to the segment but I also want to map <code>trainBoard</code>, <code>trainBoardCode</code> and <code>trainDest</code> to it.</p>