title: Unable to decode json variable using json_decode
body: <p>I am using PHP with <code>json_decode</code> to convert.</p>
  
  <p>Tried with <code>json_decode</code> its not converting and checked json format if any thing is wrong unfortunately i cant notice any thing in my json.</p>
  
  <p>Someone Please tell me what is wrong.  </p>
  
  <pre><code>$rawData='{"userName":"GBAB2C","action":"PaymentTransaction","mode":"TEST","reSellerId":"","postData":"{"ticketTypes":[{"index":0,"id":38,"fromResellerId":null,"quantity":20,"sellingPrice":null,"redeemStart":"2017-07-19 00:00:00","redeemEnd":null},{"index":1,"id":683,"fromResellerId":null,"quantity":20,"sellingPrice":null,"redeemStart":"2017-07-1900:00:00","redeemEnd":null}],"customerName":"elavarasan","email":"elavarasan@dss.com.sg","paymentMethod":"CREDIT","isInstantRedeemAll":false}","currencyCode":"INR","totalAmount":10,"referenceId":0,"hashKey":"cbe5eb31c43a134adb5835385a363eb2""apiFunctionName":"process","access":"mobile"}';
  </code></pre>
  
  <p>Used below line to convert</p>
  
  <pre><code>$_Ainput  = (array)json_decode($rawData, true);
  </code></pre>