<?php $arr = array('foo' => 'bar'); $obj = new stdClass(); $obj->foo = 'bar'; print json_encode($arr); print json_encode($obj);
You have javascript disabled. You will not be able to edit any code.