JSON
JSON (JavaScript Object Notation) is a lightweight data-interchange format designed for human-readable data interchange.
Thursday, February 17th, 2011
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…
Friday, January 7th, 2011
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…
Sunday, December 5th, 2010
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…
Monday, June 14th, 2010
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...
Friday, May 21st, 2010
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: PLAIN TEXT JAVASCRIPT: // basic Telex with example command { "_ring": 43723, ".see": ["5.6.7.8:23456", "11.22.33.44:11223"], Read the rest...
Monday, January 11th, 2010
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: 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 updates the content Read the rest...
Wednesday, December 23rd, 2009
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... PLAIN TEXT JAVASCRIPT: Read the rest...
Wednesday, September 9th, 2009
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...
Tuesday, July 28th, 2009
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: 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 = 'text/javascript'; script.charset Read the rest...
Thursday, July 9th, 2009
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...
Thursday, July 2nd, 2009
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...
Thursday, June 18th, 2009
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...
Monday, June 15th, 2009
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...
Tuesday, April 21st, 2009
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...
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...
Monday, April 20th, 2009
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: PLAIN TEXT JAVASCRIPT: chromium.tabs.createTab = function(tab, callback) { Read the rest...