I’m one of the few people who loves Safari, but I was happy to admit that it didn’t display XML or JSON very well. Marc Liyanage’s XML View Plugin fixes that.
What I’ll need is an easy way to manipulate the contents of a simple array, and these JSON editors may give me a start.
The Braincast JSON editor was the first I found, but it doesn’t allow creation/expansion of the JSON. Katamari‘s JSON editor seems to work and has a lot of features and a post 2005-looking interface, but that doesn’t make it simple. Worse, I don’t think it’s available for me to re-use, modify, or extend in my projects. Thomas Frank‘s JSON editor, on the other hand, does have the features I need and a GPL license. That’s the place to start.
Extra: a JSON diff.
Stuck with PHP 5.1.6 on RHEL or even CentOS (and a sysadmin who insists on using packages)? Need JSON? I did. The solution is easy:
yum install php-devel<br />
pecl install json
The pecl install failed when it hit an 8MB memory limit, and I was clueless about how to fix it until I learned that the pecl installer ignores the
php.ini. Turns out the best solution is to use the pear installer (which does follow
pear install pecl/json