JSON


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


Monday, April 21st, 2008

JSONVid: Pure JavaScript Video Player

Category: Examples, JavaScript, JSON, Library

Jacob Seidelin went on a ( crazy :) ) mission to create a pure JavaScript video player that didn’t use Flash: My first thought was to read binary video files using a technique like the Andy Na posted about here, figuring that there must be some really simple to parse video formats around, but I Read the rest…

Posted by Dion Almaer at 9:15 am
11 Comments

+++--
3.6 rating from 84 votes

Friday, April 18th, 2008

Conform your JSON to ECMAScript 4 with JCON

Category: JSON, Library

Oliver Steele is doing great work, and he has just released a gem called JCON which stands for JavaScript Conformance. It tests JSON values to make sure that they are valid for the new world of ECMAScript 4 type definitions (e.g. new { x:int, y:string }( 3, “foo” ) ). Usage < View plain text Read the rest…

Posted by Dion Almaer at 5:50 am
1 Comment

+++--
3 rating from 9 votes

Thursday, March 20th, 2008

SMD: Pluggable Web Services

Category: Dojo, JavaScript, JSON, Library

< View plain text > javascript {target:"/jsonrpc", // this defines the URL to connect for the services  transport:"POST", // We will use POST as the transport  envelope:"JSON-RPC-1.2", // We will use JSON-RPC  SMDVersion:"2.0",  services: {    add : { // define a service to add two numbers    parameters: [      {name:"a",type:"number"}, // define Read the rest…

Posted by Dion Almaer at 7:46 am
Comment here

++++-
4 rating from 26 votes

Monday, March 3rd, 2008

Json.NET 2.0

Category: .NET, JSON

James Newton-King has quickly released a new version of Json.NET that has a new easier syntax for querying and and creating JSON. Creating JSON < View plain text > javascript JObject o = JObject.FromObject(new {   channel = new   {     title = "James Newton-King",     link = "http://james.newtonking.com",     description Read the rest…

Posted by Dion Almaer at 6:11 am
6 Comments

+++--
3.9 rating from 37 votes

Wednesday, February 20th, 2008

YUI 2.5 released – Layout Manager, File Uploader and graphical JavaScript Profiler – and that is just the start

Category: Framework, JavaScript, JSON, Library, Yahoo!

Version 2.5 of the Yahoo User Interface Library (YUI) was released today. You can get all the details on the official blog post, but here’s the “change log”: The new Layout Manager allows you to create multi-pane user interfaces that are collapsible and resizable. The Flash-enhanced File Uploader control might be known to you from Read the rest…

Posted by Chris Heilmann at 5:30 pm
7 Comments

++++-
4.1 rating from 49 votes

Tuesday, February 12th, 2008

LINQ to JSON

Category: .NET, JSON

James Newton-King has posted a new bit of code called LINQ to JSON which is a .NET LINQ style API over JSON. For example, here is how you could get out categories and how often they are used: < View plain text > javascript var categories =   from c in rss.PropertyValue<jobject>("channel")       Read the rest…

Posted by Dion Almaer at 7:00 am
5 Comments

++++-
4 rating from 27 votes

Friday, February 1st, 2008

Google Social Graph API Released

Category: Google, JSON, Social Networks

Reposted from my blog Would you like to be able to make a quick call to get a JSON response that ties together a social graph made up of resources available on the Web? Brad Fitzpatrick, Kevin Marks, and others at Google have released a new Social Graph API that does just that: The new Read the rest…

Posted by Dion Almaer at 2:13 pm
3 Comments

+++--
3.4 rating from 27 votes

Thursday, January 31st, 2008

JSON 2.0: Libraries and browser support

Category: Browsers, JavaScript, JSON, Library

John is at it again, writing a piece on recent news surrounding JSON. He links to an updated library by Douglas Crockford,

Posted by Dion Almaer at 5:00 am
2 Comments

++++-
4.5 rating from 17 votes

Friday, January 18th, 2008

JSONLib: JSON Extensions a la E4X

Category: JavaScript, JSON, Library

Nicholas C. Zakas wanted to keep JSON out of JavaScript. He has patterned a new form of JSON support on E4X and wrote it up. Nichole wants: The addition of two new global types: JSON and JSONList. JSON represents a JSON object while JSONList represents a JSON array. Both types have a toJSONString() method that Read the rest…

Posted by Dion Almaer at 8:27 am
5 Comments

++---
2.2 rating from 37 votes

Wednesday, January 16th, 2008

JsonSQL: JSON parser, SQL style

Category: JavaScript, JSON, Library

Trent Richardson has released JsonSQL, a JavaScript library that allows you to muck around with JSON as though it is a datastore: The API < View plain text > javascript jsonsql.query("select * from json.channel.items order by title desc", json);   jsonsql.query("select title,url from json.channel.items where (category==’javascript’ || category==’vista’) order by title,category asc limit 3", json); Read the rest…

Posted by Dion Almaer at 7:17 am
10 Comments

+++--
3.3 rating from 36 votes

Friday, November 2nd, 2007

New Ajax for Old Iron

Category: Flash, JSON, Sencha, Showcase

In the rush to develop entirely new Web 2.0 systems based on Ajax, it is often easy to lose sight of how it can be used to improve the so-called “legacy” enterprise systems. Over at the Ext JS blog, there’s a post about German developer who put together a reporting/BI application to front-end RPG code Read the rest…

Posted by Dietrich Kappe at 11:44 am
8 Comments

++++-
4.1 rating from 72 votes

RESTTest HTTP Tester

Category: JSON, Utility

Kris Zyp gave some great presentations at The Ajax Experience including a discussion on advanced JSON. He did most of his demonstrations of JSON interaction using a Firefox extension that he developed himself called RESTTest. There were some requests after the presentation that he make the extension available to the public to aid in Ajax Read the rest…

Posted by Dion Almaer at 1:08 am
9 Comments

+++--
3.1 rating from 18 votes

Thursday, October 11th, 2007

JSON News: JSON Schema and JSON Referencing

Category: JSON

Kris Zyp has been plugging away on a couple of interesting JSON topics: JSON Referencing Schemes There has been a lot of discussion about handling referencing schemes, so Kris has gotten the various ideas and summarized them. He takes the following object call: < View plain text > javascript obj = {name:"foo", child: {"name" : Read the rest…

Posted by Dion Almaer at 10:01 am
7 Comments

+++--
3.6 rating from 22 votes

Tuesday, October 2nd, 2007

Ajaxian Featured Tutorial: Parse JSON with jQuery and JavaScript

Category: jQuery, JSON

Last week, we posted a tutorial by Brian Reindel which showed how to parse XML with jQuery. The feedback was pretty good but many readers felt that JSON is the data packet format of choice and an XML-focused tutorial wasn’t their cup of tea. Brian promised a follow-up tutorial focusing on JSON and he has Read the rest…

Posted by Rey Bango at 8:59 am
16 Comments

+++--
3.3 rating from 98 votes

Thursday, September 27th, 2007

Flexjson 1.5: Transformers and Filters

Category: Java, JavaScript, JSON, Library

Charlie Hubbard has updated his well received Flexjson library and has released version 1.5. There are two major feature updates: Filters You can now easily include and exclude items from the JSON: < View plain text > java new JSONSerializer().exclude("*.class").serialize( obj ); new JSONSerializer().exclude("foo.*.bar.*").prettyPrint( obj ); new JSONSerializer().exclude("*.class").include("my.hobbies").serialize( obj ); new JSONSerializer().exclude("foo.phoneNumbers").include("*").prettyPrint( obj ); Note Read the rest…

Posted by Dion Almaer at 10:47 am
Comment here

+++--
3.8 rating from 15 votes

Tuesday, September 25th, 2007

If I Told You You Had a Beautiful Figure…

Category: JavaScript, JSON, Library, Prototype

…. would you hold it against Aaron Gustafson? Aaron has written about “laying out images consistently within a design is difficult; especially when you hand the keys over to someone else to fill in the content.” The article discusses a microformat for figures so you define a figure using as little or as much as: Read the rest…

Posted by Dion Almaer at 7:00 am
4 Comments

++---
2.9 rating from 39 votes