title: PHP, Invalid characters in JSON decode
body: <p>I'm having troubles getting json_decode to work on a specific string I am receiving.</p>
  
  <p>I have narrowed it down to this line:</p>
  
  <blockquote>
    <p>"systemNotes[6]": "January 09, 2013 12:52 PM - Test Name - Changed  Billing Address 2 From  to Shipping First Name:    Shipping Last Name:     Email Address:  Shipping Address:   Shipping Address 2:     Shipping City:      Shipping Zip/Postal:    Shipping Country:   Shipping State:     Phone:      Billing First Name:     Billing Last Name:      Billing Address:    Billing Address 2:      Billing C"</p>
  </blockquote>
  
  <p>Copying the json from this question, the problem is not reproducible - but a representative snippet of the original json is here: <a href="http://codepad.org/ZzrC7rqQ" rel="noreferrer">http://codepad.org/ZzrC7rqQ</a> - and putting that in <a href="http://jsonlint.com/" rel="noreferrer">jsonlint.com</a> gives:</p>
  
  <pre><code>Parse error on line 3:
  ...  "systemNotes[6]": "January 09, 2013 12
  -----------------------^
  Expecting 'STRING', 'NUMBER', 'NULL', 'TRUE', 'FALSE', '{', '['
  </code></pre>
  
  <p>What is wrong with this string such that it's invalid json?</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>I managed to find the exact code coming across.</p>
  
  <blockquote>
    <p>"systemNotes[6]":"January+09%2C+2013+12%3A52+PM+-+First+Name+-+Changed++Billing+Address+2+From++to+Shipping+First+Name%3A%09+Shipping+Last+Name%3A%09+Email+Address%3A%09+Shipping+Address%3A+%09+Shipping+Address+2%3A+%09+Shipping+City%3A+%09+Shipping+Zip%2FPostal%3A+%09+Shipping+Country%3A+%09+Shipping+State%3A+%09+Phone%3A+%09+Billing+First+Name%3A+%09+Billing+Last+Name%3A+%09+Billing+Address%3A+%09+Billing+Address+2%3A+%09+Billing+C"</p>
  </blockquote>
  
  <p>This seems to be ok so maybe the problem is coming from when I do the parse_str, here's the code I am using:</p>
  
  <pre><code>$response = apiConnection($data);
  parse_str($response, $parse);
  $each = json_decode($parse['data']);
  foreach($each as $key =&gt; $order){
     //do something
  }
  </code></pre>