title: Parsing json having multiple arrays
body: <p>I am stuck with <code>JSON</code> parsing in my code. I tried a lot but could not figure out what is going wrong.</p>
  
  <p>This is my <code>JSON</code> response</p>
  
  <pre><code>[{
  
      "order": {
          "transaction_id": "bFnRjTPYfD",
          "status": 0,
          "created_at": "2015-04-22 09:35:35"
      }
  
  }, {
  
      "order_items": [{
          "item_id": 1,
          "item_name": "Potato",
          "item_description": null,
          "item_salesprice": 14,
          "item_imagepath": "\/uploads\/veggies\/potato.jpg",
          "order_quantity": "4 Kg",
          "order_price": 69.99
      }, {
  
          "item_id": 2,
          "item_name": "Tomato",
          "item_description": null,
          "item_salesprice": 18,
          "item_imagepath": "\/uploads\/veggies\/tomato.jpg",
          "order_quantity": "6 Kg",
          "order_price": 79.99
      }]
  
  }]
  </code></pre>
  
  <p>I want to extract transaction id and item name. Can you please help me with this?</p>
  
  <p>Update Answer:</p>
  
  <pre><code>NSDictionary *Order=[JSONData ValueForKey:@"Order"]; 
  
  NSString *transaction_id=[Order ValueForKey:@"Transaction_id"]; 
  </code></pre>