JSON (JavaScript Object Notation) is a lightweight data-interchange format designed for human-readable data interchange.

Wednesday, March 18th, 2009

Super fast client side searches – the Flickr way

Category: Examples, JSON, Performance, XmlHttpRequest, Yahoo!

Over at the Flickr development blog, Ross Harmes, one of those lesser sung JavaScript heroes explains in detail how Flickr creates really fast client side searches and one of the implementations of these findings is the newly released find people faster feature: The main findings of the team were that eval() is not only evil Read the rest…

Posted by Chris Heilmann at 2:38 pm

3.6 rating from 23 votes

Thursday, February 26th, 2009

JSONView: JSON browser from within Firefox

Category: JSON, Utility

JSONView is a new Firefox extension that gives you a nice way to view your JSON documents (JSONovich also does the trick). Ben Hollis talks about the extension: The extension itself is pretty simple. I wasn’t sure how to approach the problem of supporting a new content type for Firefox, so I followed the example Read the rest…

Posted by Dion Almaer at 10:31 am

4.1 rating from 17 votes

Monday, February 16th, 2009

Native JSON in Firefox 3.1; Joins IE 8

Category: Browsers, JSON

The native JSON API is part of the upcoming 3.1 revision of ECMAScript, so we should see it adopted in browsers pretty quickly. It’s also API compatible with json2.js, as you note, so many many web users will get the performance win without apps needing to update. I suspect that the performance advantage for native Read the rest…

Posted by Dion Almaer at 4:05 am

4.3 rating from 33 votes

Wednesday, February 11th, 2009

JsonML: Who needs angle brackets?

Category: JSON

JsonML swaps out the world of the curly with that of the angle. The purpose of JsonML is to provide a compact format for transporting XML-based data via JSON. Simon Willison says it best: An almost non-lossy serialization format for sending XML as JSON (plain text in between elements is ignored). Uses the (element-name, attribute-dictionary, Read the rest…

Posted by Dion Almaer at 6:39 am

2.7 rating from 37 votes

Wednesday, February 4th, 2009

Kiva: Making a difference with a new API

Category: JSON, Library

We don’t often post about general APIs. I let John Musser handle that on Programmable Web, but this one strikes a chord with me. Kiva, the distributed micro loan platform, has released a new developer API that gives third parties access to create innovative applications on top of the platform: The initial release of the Read the rest…

Posted by Dion Almaer at 12:05 am

3.5 rating from 17 votes

Tuesday, December 23rd, 2008

Lengthening Out URLs

Category: JavaScript, JSON, Usability, Utility

In our age of information and technology, there isn’t as much mystery as there used to be. In that sense, short URLs (e.g., tinyurl.com/123) can be fun! Who knows where you’ll wind up. Some folks aren’t as happy with uncertainty in hyperlinking; one of them, Darragh Curran, wrote in to tell us about his project: Read the rest…

Posted by Ben Galbraith at 10:22 am

4 rating from 36 votes

Friday, December 12th, 2008

YQL – converting the web to JSON with mock SQL

Category: JavaScript, JSON

I like getting data from the web and I love JSON – as it is easy to use. The issue is that not many things on the web come as JSON from the get-go. Hence we need converters. You can use cURL and beautiful soup or roll your own hell of regular expressions. Alternatively you Read the rest…

Posted by Chris Heilmann at 4:20 pm

4.3 rating from 52 votes

Monday, November 10th, 2008

yboss – a wrapper for Yahoo’s BOSS API

Category: Examples, JavaScript, JSON, Yahoo!

BOSS – Build Your Own Search Service (the your is silent for reasons I cannot tell you as it would endanger the lives of our agents in the field) is a Yahoo! API to access their search index and get the data back either as XML or JSON. Whilst there is ample documentation available it Read the rest…

Posted by Chris Heilmann at 6:06 pm
1 Comment

3.5 rating from 15 votes

Thursday, October 30th, 2008

Language JSONP Service

Category: JSON

Ben Lisbakken, an ex-colleague from Google and all round good guy, has created a simple JSONP service (in the vein of json-time and html-whitelist) that calculates the users language based on browser headers: http://langdetect.appspot.com/?callback=setLanguage This will return something like: setLanguage({“languages”: [‘en-us’, ‘en’]}); Ben created a nice little sample that shows you content in the language Read the rest…

Posted by Dion Almaer at 1:19 am

3.6 rating from 18 votes

Monday, October 13th, 2008

Ruby on jQuery and Closures

Category: jQuery, JSON

Sam Ruby has that way about him that sees things very clearly. He just took a peak at jQuery for the first time and was able to really put into words what I think jQuery enthusiasts like about the library: The notable thing about this is that despite all of the asynchronous events taking place, Read the rest…

Posted by Dion Almaer at 6:40 am
1 Comment

2.3 rating from 32 votes

Thursday, July 31st, 2008

JSON Pickle: Serialize your complex Python objects to JSON

Category: JSON, Python

John Paulett wanted to be able to define complex Python model objects, then seamlessly pass them into CouchDB and to client-side Javascript. To make this happen for objects that are beyond primitive sets he created JSON Pickle which has been used on the Universal Feed Parser, and lets you do the following: < View plain Read the rest…

Posted by Dion Almaer at 7:50 am
1 Comment

3.6 rating from 26 votes

Monday, June 30th, 2008

JSON Diff Released

Category: JSON, Utility

Tom Robinson has built a useful utility, JSON Diff, which gives you a graphical look at the difference. Changed portions are displayed in yellow. Additions are displayed in green. Deletions are displayed in red. The visualization is live itself, so you can move around the nodes using the triangles.

Posted by Dion Almaer at 11:11 am

4 rating from 24 votes

Monday, June 23rd, 2008

Endpoint Resolver: JavaScript Library to hunt for Location redirects

Category: JavaScript, JSON

Re-posted from my personal blog Sometimes you can get in the zone just enough to be productive on a plane. On my flight to Mexico City yesterday, I created Endpoint a project that contains a server proxy, JavaScript client, and Greasemonkey Script with a mission. The mission is to take a URL, work out if Read the rest…

Posted by Dion Almaer at 12:34 am
1 Comment

3.1 rating from 11 votes

Tuesday, May 13th, 2008

inputEx: JSON form builder

Category: JSON, Showcase

inputEx is “a javascript framework to build fields and forms” created by Eric Abouaf. The framework uses a JSON format to describe a form, such as: < View plain text > javascript {     "fields" : [         {             "type" : "group",       Read the rest…

Posted by Dion Almaer at 7:35 am

3.3 rating from 32 votes

Persevere: JSON Storage / Application Server

Category: Dojo, JSON, Showcase

Kris Zyp of Sitepen has released Persevere: An open source set of tools for persistence and distributed computing using intuitive standards-based JSON interfaces of HTTP REST, JSON-RPC, JSONPath, and HTTP Channels. The core of the Persevere project is the Persevere Server. The Persevere server includes a Persevere JavaScript client, but the standards-based interface is intended Read the rest…

Posted by Dion Almaer at 3:46 am

3.7 rating from 33 votes

Tuesday, April 22nd, 2008

Google offers Search, Feed, and Translation APIs to Non Ajax Usage

Category: Google, JavaScript, JSON, Library

The Google Ajax API team has been offering great services that you can use from JavaScript in the browser. I have talked about some of them on Ajaxian before (Feed API, Feed Discovery API, and the recent Language API) but now we have a great new release that enables you to access these APIs from Read the rest…

Posted by Dion Almaer at 9:07 am

4.2 rating from 23 votes