/ Published in: PHP
A fallback for php's json_encode functionality. What do you think?
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
if($v==NUll)return 'null'; foreach($v as $k=>$val)$v[$k]=call_user_func(__FUNCTION__,$k).':'.call_user_func(__FUNCTION__,$val); } } }
URL: http://kirie.no/