Because you set the 2nd param of json_decode()
to true, the result will be purely an array -- no mix of objects and arrays. So you'll reference any desired element via array notation, likely at multiple dimensions, e.g. $parsed_json['some_key']['another_key']['and_so_forth']
. So, yeah, something like this should show you the structure:
echo "<pre>".print_r($parsed_json, true)."</pre>"; // or die() if you prefer