Simon Willison’s Weblog

Subscribe

130 items tagged “json”

2006

I read on Niall Kennedy that del.icio.us has come up with an API that returns a JSON structure, and I figured, sheez it can’t be that hard to parse, so let’s see what it looks like, and damn, IT’S NOT EVEN XML! [...] Who did this travesty? Let’s find a tree and string them up. Now.

Dave Winer # 20th December 2006, 7:21 pm

PHP: JSON Functions. Now bundled in PHP 5. A great way to move data from PHP to some other language. # 3rd November 2006, 12:25 pm

Keep your JSON valid

I’m a big fan of JSON, and it’s great to see it turning up as an output option for so many Web APIs. Unfortunately, many of these APIs are getting the details slightly wrong and in doing so are producing invalid JSON.

[... 311 words]

Proposed RFC for application/json (via) Douglas Crockford is putting JSON through the IETF. # 1st August 2006, 9:29 pm

Don’t serve JSON as text/html. Another sneaky XSS trick. # 5th July 2006, 11:46 pm

Django and JSON. Neat trick to serialize Djange QuerySets as JSON. # 20th June 2006, 8:16 am

2005

JSON and Yahoo!’s JavaScript APIs

I had the pleasure yesterday of seeing Douglas Crockford speak about JSON, the ultra-simple data interchange format he has been promoting as an alternative to XML. JSON is a subset of JavaScript, based around that language’s array, string and object literal syntax.

[... 240 words]

Using JSON with Yahoo! Web Services (via) No more cross-domain script access problems. # 15th December 2005, 11:53 pm

Introducing JSON (via) A data-interchange format based on JavaScript objects and arrays. # 7th February 2005, 11:42 pm