<?php $obj = new stdClass(); $obj->a = 1; $obj->b = 2; $obj->c = array('sub'=>1, 'hello'=>'world'); print_r(json_encode($obj, true));
You have javascript disabled. You will not be able to edit any code.