1 2 3 4 5 6
<?php $json = "{\"json\":[{\"username\":\"1062576\",\"accountId\":\"45656565\"}]}"; $postarray = json_decode($json); print_r($postarray); ?>
1 2 3 4 5 6 7 8 9 10 11 12 13
stdClass Object ( [json] => Array ( [0] => stdClass Object ( [username] => 1062576 [accountId] => 45656565 ) ) )