JSON parsers
- Formatting JSONscreenshot http://json.parser.online.fr/ has been around the longest,
formats and validates
- http://jsonformatter.curiousconcept.com/ Slow but works, the only one I
found where you can plug in a url as well as code,
validates and formats
- http://jsonlint.com/ validates and formats
- http://jsonviewer.stack.hu/ nice viewer
- Others http://freenuts.com/best-7-free-online-json-viewers/ sources a few more
including
- http://www.jquery4u.com/demos/online-json-tree-viewer/# This tool loads a
JSON file and displays the hierarchical structure of
the data and values
- http://www.jsonviewer.com/ (nice formatting,
you also have an option to paste the link of the page
but you need IE)
- http://json.bloople.net/ (simple JSON to
HTML),
- http://chris.photobooks.com/json/default.htm (JSON to HTML),
- http://ajaxstack.com/jsonreport/ HTML 5 JSON
report, produces a very nice formatted output that
looks like a report, remember to scroll across as
needed
- http://yaml-online-parser.appspot.com/
- A guide to processing JSON
while using the NYT API http://blog.blprnt.com/blog/blprnt/processing-json-the-new-york-times
- http://processing.org/discourse/yabb2/YaBB.pl?num=1163101573/0 discussion with a couple of
good observations
- http://webhole.net/2009/08/31/how-to-read-json-data-with-php/
Nice intro to reading JSON with php with examples
You
can use the following "test" JSON to test out the parsers:
[{"seat": "", "committee_ext_id": "C00457705", "seat_held":
"", "recipient_party": "R", "recipient_type": "C",
"seat_status": "", "recipient_state": "",
"contributor_category": "Z1100", "contributor_gender": "",
"contributor_state": "VA", "recipient_category": "J2200",
"is_amendment": false, "district": "", "organization_name":
"Friends of John McCain", "recipient_ext_id": "C00457705",
"parent_organization_name": "", "contributor_address": "",
"transaction_id": "pac2pac:2012:0023727",
"contributor_occupation": "", "filing_id": "11990259100",
"contributor_city": "ARLINGTON", "recipient_state_held": "",
"district_held": "", "recipient_name": "Country First PAC",
"organization_ext_id": "C00341891", "contributor_zipcode":
"22215", "transaction_namespace": "urn:fec:transaction",
"date": "2011-02-01", "committee_name": "Country First PAC",
"candidacy_status": false, "parent_organization_ext_id": "",
"cycle": 2012, "contributor_name": "Friends of John McCain",
"contributor_type": "C", "contributor_employer": "",
"seat_result": "", "transaction_type": "18g", "amount":
"2948598.00", "contributor_ext_id": "C00341891",
"committee_party": "R"}]]