released: jsonDebug helper component, v1.0.0
| From: | Rene Veerman | Date: | Tue, 05 Jan 2010 06:56:31 +0000 |
| Subject: | released: jsonDebug helper component, v1.0.0 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-300801@lists.php.net to get a copy of this message | ||
I was dealing with large & deep arrays in PHP and wanted a better way to
view such data structures in the browser.
So i've built a few functions that show such structures initially collapsed,
with various options to click-and-see what's in a sub-value.
It can also handle HTML within JSON, and JSON within JSON.
Dumping an array from PHP is as simple as
htmlDump ($arr, $title);
For a demo & download (LGPL) see http://skatescene.biz/jsonDebug-1.0.0/
If you have any improvements, please let me know; rene7705@gmail.com