Visualize JSON
Working a little bit like <CFDUMP >, JSON Visualization allows you to quickly view your structures outline. Also from the left hand menu there are some basic options to manipulate/preserve the data futher.
If you want to test it out below is a block of JSON from Wikipedia
1{
2"firstName": "John",
3"lastName": "Smith",
4"age": 25,
5"address": {
6"streetAddress": "21 2nd Street",
7"city": "New York",
8"state": "NY",
9"postalCode": "10021"
10},
11"phoneNumber": [
12{ "type": "home", "number": "212 555-1234" },
13{ "type": "fax", "number": "646 555-4567" }
14],
15"newSubscription": false,
16"companyName": null
17}
2"firstName": "John",
3"lastName": "Smith",
4"age": 25,
5"address": {
6"streetAddress": "21 2nd Street",
7"city": "New York",
8"state": "NY",
9"postalCode": "10021"
10},
11"phoneNumber": [
12{ "type": "home", "number": "212 555-1234" },
13{ "type": "fax", "number": "646 555-4567" }
14],
15"newSubscription": false,
16"companyName": null
17}
| Tweet |
http://www.netgrow.com.au/files/javascript_dump.cf...
Which emulates it within Javascript. I've found it really handy when I need specific information back quickly. As useful as Firebug is it can sometimes give you a bit too much information back.
Also is Chris Jordon's ColdFusion Function Javascript library:
http://cjordan.us/index.cfm/2007/5/9/CFJS--ColdFus...
Great stuff!