<?php $obj = json_decode('{"id":1,"Name":"Mike"}');var_dump($obj);echo $obj->Name; ?>
Standard input is empty
object(stdClass)#1 (2) { ["id"]=> int(1) ["Name"]=> string(4) "Mike" } Mike
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!