Array of object as String to Array of object (jSON)?
<p>I'm trying to convert this string :</p>

<pre><code>$json = '[{"a":1,"b":2,"c":3,"d":4,"e":5}, {"a":6,"b":7,"c":8,"d":9,"e":10}]';
</code></pre>

<p>To an array of object. I've tried :</p>

<pre><code>$test = json_decode($json, true);
echo sizeof($test); //traces 2 !
echo $test[0]["a"]; //doesn't echo anything!
</code></pre>

<p>How do i convert in PHP a json string to an array of object ??</p>
