<?php $json = '{"foo":{"bar":"baz"}}'; $r1 = json_decode($json); var_dump($r1->foo->bar); $r2 = json_decode($json, true); var_dump($r2['foo']['bar']);
You have javascript disabled. You will not be able to edit any code.