JSON

13 Nov 2011

I was working through a tutorial on Bogart and CouchDB and decided to implement the examples in CoffeeScript instead of JavaScript as I've been meaning to play with CoffeeScript for a while now.

One of the files in the tutorial is the package.json file for managing dependencies in the (absolutely lovely) package manager npm. When I wrote the data structure out in CoffeeScript, however, the compiled data structure wasn't valid JSON according to JSONLint (it was nested between parentheses, had unquoted keys, and a trailing semi-colon, as you can see in the code snippet.) (more...)

A simple CoffeeScript to JSON shell script for Macs

If you're as lazy as I am, you might want to write out your static data structures in CoffeeScript instead of JSON. This little script lets you convert a file containing a CoffeeScript data structure to valid JSON.

10 Jul 2008

From the Simon Willison/Natalie Downe dream team comes yet another very useful service for Google App Engine developers: jsontime.

I have been meaning to blog about this for some time (no pun intended!)

(more...)

jsontime for Google App Engine

1 Jun 2008

Introducing Open Country Codes: easy to use ISO 3166 country codes for your apps.

Why are some things just much harder than they need to be? Finding a current, easy-to-use data source for populating a country selection box, for example.

(more...)

Open Country Codes: ISO 3166 country names and Alpha-2 country codes in HTML, Python, JavaScript, ActionScript, Flex, JSON, and XML

14 Dec 2007

The reports of SWX's death have been greatly exaggerated. Well, OK, the one report, that is.

I'm referring to the blog post by David Arno that asks Has Adobe just killed SWX?

David's post refers to the recent opening of the AMF format (good one, Adobe, and about time, I'd say) and the open source release of BlazeDS.

(more...)

No, Adobe has not just killed SWX :)