title: PHP json_decode not working - displays NULL output
body: <p>I'm trying to use JSON decode to retrieve some information but it's not working, it's just showing the data as null when I use var_dump</p>
  
  <p>Here's the JSON formatted data passed in the URL</p>
  
  <pre><code>orderSummary={"orderInfo":[{"itemNumber":"1","quantity":"3","price":"5.99","productName":"Item_B"}]}
  </code></pre>
  
  <p>When I simply echo the un-decoded string I get the following</p>
  
  <pre><code>echo $_GET['orderSummary'];
  //displays the following
  {\"orderInfo\":[{\"itemNumber\":\"1\",\"quantity\":\"3\",\"price\":\"5.99\",\"productName\":\"Item_B\"}]}
  </code></pre>
  
  <p>However, when I try to decode it the result is null</p>
  
  <pre><code>$order = $_GET['orderSummary'];
  $data = json_decode($order,true);
  echo "&lt;PRE&gt;";
  var_dump($data); die();
  //displays the following
  &lt;PRE&gt;NULL
  </code></pre>
  
  <p>Is it not properly formatted?</p>