title: json_decode not working
body: <p>I have the following JSON:</p>
  
  <pre><code>{"easyStoreRelayList":[],"DecathlonStoreAreaNoStoreInGroup":"Nella zona che hai selezionato nessun negozio Decathlon al momento effettua il servizio \"ACQUISTA ON LINE RITIRA IN NEGOZIO\" oppure non sono presenti negozi Decathlon.","warehouseRelayList":[],"DecathlonStoreAreaRememberMe":"Riconoscimi alla prossima visita","DecathlonWarehouseParcelSection":"Magazzini","DecathlonStoreParcelSection":"Negozio DECATHLON","DecathlonEasyStoreParcelSection":"Negozio DECATHLON EASY","geoName":"Alessandria","physicalStoreList":[["PS_IT_45","Serravalle Scrivia (Alessandria)","471",null,"7",null]]}
  </code></pre>
  
  <p>This is my code to try and have it in json format so that it's easier to me to work whit the info.</p>
  
  <pre><code>//$html is the var containing the original string befora trying to parse it to JSON
  
      $html = stripslashes(str_replace('\"', '"', $html));
      $obj = json_decode($html,true);
      $obj = rtrim($obj, "\0");
  
  
      echo $obj["DecathlonStoreAreaNoStoreInGroup"];
      if(json_last_error() == 4){
          echo "ERROR";
      }
  </code></pre>
  
  <p>I keep getting the error of: Illegal string offset 'DecathlonStoreAreaNoStoreInGroup', and the error 4 as "json_last_error".</p>
  
  <p>Anyone kwnos what it could be, that is not parsing corretly the json??</p>