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

Thursday, February 17th, 2011

Jdrop – JSON in the cloud

Category: JSON, Mobile

Performance Wonk Steve Souders has announced Jdrop – described as a JSON repository in the cloud. It builds on his work with Mobile Perf javaScript meta-bookmarklets that can work as profilers for mobile devices. Bookmarklets gather data and display data. The data can be saved to Jdrop. For analysis. Souders blogs: It was pretty simple Read the rest…

Posted by jvaughan at 10:21 pm
1 Comment

4.1 rating from 53 votes

Friday, January 7th, 2011

Json.NET 4.0

Category: .NET, JSON

Per James Newton, the latest Json.NET release targets .NET 4. Json.NET 4.0 comes with a Windows Phone specific dll, compiled using Windows Phone tools. A .NET 4 feature employed is the dynamic keyword, which allows variables and members to be statically typed as dynamic.  Json.NET 4.0 adds support for dynamic keywords in a couple of Read the rest…

Posted by jvaughan at 4:37 pm
Comment here

3.4 rating from 39 votes

Sunday, December 5th, 2010

XML versus the Web again

Category: JSON

At least in terms of cool Web stuff, JSON replaced XML long ago. But the story keeps trickling down. Semi-pivotal events appear to be recent moves by Twitter and Foursquare to remove XML support from their Web APIs, settling solely on JSON. In the wake, no less than XML crew member James Clark has taken Read the rest…

Posted by jvaughan at 3:53 pm

3.3 rating from 8 votes

Monday, June 14th, 2010

JSonduit: Turn the Web into a JSON feed

Category: JSON

Chris Winberry recently built a node-htmlparser library that we posted on. Now we know why he built that library. He has released JSonduit.com: Any data, anywhere. JSonduit is a service that can turn practically anything on the web into a JSON feed that any website may consume. A JSON conduit, if you will. Feeds are Read the rest…

Posted by Dion Almaer at 5:28 am

4.3 rating from 3 votes

Friday, May 21st, 2010

TeleHash: Real-time wire protocol for JSON

Category: JSON

TeleHash is a brand new “wire protocol for exchanging JSON in a real-time and fully decentralized manner.” If you are into switches and Erlang, it will look maybe a bit familiar, with entries such as: < View plain text > javascript // basic Telex with example command {     "_ring": 43723,     ".see": Read the rest…

Posted by Dion Almaer at 9:35 am

4 rating from 2 votes

Monday, January 11th, 2010

Using YQL as a proxy for cross-domain Ajax

Category: JavaScript, jQuery, JSON, XmlHttpRequest, Yahoo!

OK, this is nothing shockingly new, but I found it pretty useful. Using jQuery, Ajax has become more or less a one-liner: < View plain text > javascript $(document).ready(function(){   $(‘.ajaxtrigger’).click(function(){     $(‘#target’).load($(this).attr(‘href’));     return false;   }); }); This loads the document any link with a class of “ajaxtrigger” points to and Read the rest…

Posted by Chris Heilmann at 7:42 pm

3.6 rating from 37 votes

Wednesday, December 23rd, 2009

Orderly JSON

Category: JavaScript, JSON, Library

Lloyd Hilaiel of Yahoo! BrowserPlus fame, has a little holiday gift for us. He has created a simple library called Orderly that “is a textual format for describing JSON. Orderly can be compiled into JSONSchema. It is designed to be easy to read and write.” He shares: A little bit of orderly… < View plain Read the rest…

Posted by Dion Almaer at 6:34 am

3 rating from 31 votes

Wednesday, September 9th, 2009

Getting hyper about JSON namespacing

Category: JSON

Kris Zyp, JSON hero, has been cooking up some more good stuff on his path to reinventing a new path to all. In JSON namespacing he discusses JSON Hyper Schema which aims to cure JSON from XML namespacing colon cancer. JSON Hyper Schemas can be referenced from instances by Link headers or media type parameters. Read the rest…

Posted by Dion Almaer at 6:42 am

4 rating from 21 votes

Tuesday, July 28th, 2009

Dynamic script generation and memory leaks

Category: JSON, Performance

An interesting piece by Neil Fraser shows that using JSON-P with generated script nodes can be quite a memory leak. Normally you’d add information returned from an API in JSON-P with a generated script node: < View plain text > javascript script = document.createElement(‘script’);   script.src = ‘http://example.com/cgi-bin/jsonp?q=What+is+the+meaning+of+life%3F’;   script.id = ‘JSONP’;   script.type = Read the rest…

Posted by Chris Heilmann at 3:50 pm

3.8 rating from 26 votes

Thursday, July 9th, 2009

Pimping JSON – YQL now offers JSONP-X!

Category: JavaScript, JSON, Yahoo!

Yesterday’s announcement of Yahoo’s YQL now supporting insert, update and delete overshadowed another interesting new feature: JSONP-X output. Here’s what it is and why it is useful: YQL data can be returned in XML which is annoying to use in JavaScript (for starters because of crossdomain issues in Ajax). JSON is much easier as it Read the rest…

Posted by Chris Heilmann at 10:48 am

2.3 rating from 40 votes

Thursday, July 2nd, 2009

GeoMaker – geo locations as microformats or a map from texts or URLs

Category: JavaScript, JSON, Yahoo!

As preparation for an upcoming tech talk about Placemaker I thought it would be good to take a bit of the pain out of the geolocation service by making an interface for it. Placemaker works the following way: you post some content or a URL to it, it goes through the content or gets the Read the rest…

Posted by Chris Heilmann at 3:02 am

3.8 rating from 14 votes

Thursday, June 18th, 2009

JavaScript Compatibility Tests

Category: JavaScript, JSON

Robert Nyman has setup a really nice test suite for JavaScript 1.6, 1.7, and 1.8+ features such as getters/setters, Object.defineProperty, Object.getPrototypeOf, new String extras, and JSON. It includes compatibility tables, and will try to run the tests on your browser to give you feedback. It also includes sample code to check web browser support that Read the rest…

Posted by Dion Almaer at 10:25 am

4.4 rating from 22 votes

Monday, June 15th, 2009

Bing API does callback checking for JSON-P

Category: JavaScript, JSON, Library

I just looked through the API of Microsoft’s new Bing search and found an interesting step in protecting code from throwing errors. When you provide a JSON output for developers it does make sense to also allow for a callback parameter. That way your code can be used in script nodes without having to use Read the rest…

Posted by Chris Heilmann at 6:32 am

2.3 rating from 33 votes

Tuesday, April 21st, 2009

Persevere’s JavaScriptDB: Impressive JSON Performance

Category: Database, JavaScript, JSON

Kris Zyp recently posted about an intriguing new chapter in the application persistence space: The latest beta of Persevere features a new native object storage engine called JavaScriptDB that provides high-end scalability and performance. Persevere now outperforms the common PHP and MySQL combination for accessing data via HTTP by about 40% and outperforms CouchDB by Read the rest…

Posted by Ben Galbraith at 1:00 pm

4.6 rating from 51 votes

Browsing on the Couch

Category: Database, JavaScript, JSON, Library

Atul Varma, a fantastic colleague in Building “S” at Mozilla, has been playing with a JavaScript implementation of CouchDB called BrowserCouch: BrowserCouch is an attempt at an in-browser MapReduce implementation. It’s written entirely in JavaScript and intended to work on all browsers, gracefully upgrading when support for better efficiency or feature set is detected. Not Read the rest…

Posted by Dion Almaer at 6:34 am
1 Comment

3.8 rating from 22 votes

Monday, April 20th, 2009

How JSON Schema is turning out for the Chrome extension APIs

Category: Chrome, JSON

When Aaron talked about the Chrome extension API he mentioned how he would see if JSON Schema could help them have a JSON heavy API and allow them to easily validate. He has quickly reported back and is happy with the results. Something like this: < View plain text > javascript chromium.tabs.createTab = function(tab, callback) Read the rest…

Posted by Dion Almaer at 5:19 am

3.8 rating from 14 votes