I have the following JSON:
{ \"nickname\": \"xadoc\", \"level\": 4, \"loc\": \"Tulsa, OK, USA\", \"score\": 122597, \"money\": 29412.5, \"street
I would imagine that the simplest thing to do is to decode into associative arrays instead of stdClass objects
$obj2 = json_decode( $json, true ); foreach ( $obj2['streets'] as $coords => $street ) { echo $coords; }