do not taunt happy fun JSON

Allow me to repeat myself somewhat and clarify my general opinion of JSON and its use in cross-domain browser scripting:

Happy Fun JSON is not really an API. Happy Fun JSON is not a bold declaration of side-taking in the grand war of web service specifications. Do not base business models on Happy Fun JSON. Caution: Happy Fun JSON may suddenly accelerate to dangerous speeds or stop altogether. Happy Fun JSON contains a liquid core, which, if exposed due to rupture, should not be touched, inhaled, or looked at. Ingredients of Happy Fun JSON include an unknown glowing substance which fell to Earth, presumably from outer space. If Happy Fun JSON begins to smoke, get away immediately. Seek shelter and cover head.

Do not taunt Happy Fun JSON.

Having said all that? Happy Fun JSON is pretty fun to throw around.

6 Comments

  1. Posted December 20, 2006 at 10:34 pm | Permalink

    Did it hurt when Happy Fun JSON fell from Heaven? ;)

  2. Posted December 20, 2006 at 10:55 pm | Permalink

    Obviously, the new del.icio.us JSON url feed is crushing blow against XML Web Enterprise Services Declarative Net Neutrality.

  3. jamesv
    Posted December 21, 2006 at 10:14 am | Permalink

    I only wish you could pass Happy Fun JSON into Flash via FlashVars in IE. FF and Safari seem to have no problems with it.

    It would make authoring a richer content version of sIFR much, much easier.

  4. Posted December 22, 2006 at 2:22 pm | Permalink

    You should be banned from talking about JSON if you think you have to choose one or the other. A place for everything and everything in it’s place.

  5. Posted December 31, 2006 at 1:11 pm | Permalink

    All this lynch talk – I just got throttled!

    Running the script here on a series of URIs got me the 999 error (no sure how many had run). There’s a 2 second pause between calls, I thought that would be polite enough. Still throttled now, maybe 10 mins later. Any suggestions for what would prevent throttling? How long it needs to recover?

    btw, I think Happy Fun JSON is great, and not unreasonable for interop. But what isn’t so good for interop is inventing a new HTTP code when there’s 503 Service Unavailable (and a Retry-After header would be handy).

  6. Posted January 22, 2007 at 9:16 am | Permalink

    @jamesv: The first thing I did with JSON at work was pass it in to a Flash movie via FlashVars. This used a JSON decode written in ActionScript grabbed from JSON.org, plus a JSON encoder written in C# (it did not take long to write because I did not attempt to serialize arbitrary objects). Some gratuitous URL-encoding was also involved. Compared with passing the same data structure via URL-encoded XML to be picked apart by ActionScript’s DOM support, it was easy and much more like fun.

2 Trackbacks

  1. By tech decentral » links for 2006-12-21 on December 21, 2006 at 6:27 pm

    [...] 0xDECAFBAD ยป do not taunt happy fun JSON “Happy Fun JSON is not really an API. Happy Fun JSON is not a bold declaration of side-taking in the grand war of web service specifications. Do not base business models on Happy Fun JSON.” (tags: json apis web-services) [...]

  2. By fun on wheels on July 2, 2008 at 4:07 am

    fun on wheels…

    How does the rss feed work so I can get updated on your blog?…

Post a Comment

Your email is never shared. Required fields are marked *

*
*

Additional comments powered by BackType