Observe this little script:
$array = array(\'stuff\' => \'things\'); print_r($array); //prints - Array ( [stuff] => things ) $arrayEncoded = json_encod
Take a closer look at the second parameter of json_decode($json, $assoc, $depth) at https://secure.php.net/json_decode
json_decode($json, $assoc, $depth)