White Papers IT Jobs Events Research Premium Services Training & Certification Media Kit
free news! your email
IT Management
internet.com

Subjects      
 Chips & Upgrades
 Computers
 News
 Opinions
 Peripherals
Systems Software

  SysOpt

internet.commerce
-
Be a Commerce Partner














Search
Earthweb
The Web

Search for more hardware and systems terms . . .
 
JSON
Last modified: Tuesday, April 17, 2007 

Short for JavaScript Object Notation, JSON is a lightweight data-interchange format that is easy for humans to read and write, and for machines to parse and generate. JSON is based on the object notation of the JavaScript language. However, it does not require JavaScript to read or write because it is a text format that is language independent. JSON notation contains these basic elements:

  • Objects: Objects begin and end with curly braces ({}).
  • Object Members:  Members consist of strings and values, separated by colon (:). Members are separated by commas.
  • Arrays:  Arrays begin and end with braces and contain values. Values are separated by commas.
  • Values: A value can be a string, a number, an object, an array, or the literals true, false or null.
  • Strings: Strings are surrounded by double quotes and contain Unicode characters or common backslash escapes.

  Related Links

Developer.com
Contains resources, tools, articles, discussion areas, and events of interest to Internet/intranet developers. Directories include: ActiveX, Java, JavaBeans, JavaScript, Microsoft and .NET, open source and VRML.

JSON for Ajax Web services
JSON is a subset to JavaScript, the de facto programming language used in all browsers. By structuring a data payload as a JSON response, you are effectively bypassing the need to parse an XML document in a browser — typically done via JavaScript of course — to get to the actual data.

Speeding Up AJAX with JSON
The XMLHttpRequest object analyzes the MIME type of the data coming back from the Web server by looking at the Content-type header that precedes the data.

Tutorial: User-Defined Objects
This tutorial describes JSON, a cross language data interchange format.

Related Categories
Browsers

Programming Languages

Web 2.0

Web Development

Web Services

Related Terms
Ajax

API

browser

code

JavaScript

JavaScript Object Notation

Web 2.0

Web services

XMLHttpRequest

Shopping
JSON Products
Compare Products,Prices and Stores

Shop by Category:
Music
1 Model Matches

Books
1 Model Matches

Sport and Outdoor
1 Store Offers

IT ManagementNetworking & CommunicationsWeb DevelopmentHardware & SystemsSoftware Development
GlobeEarthweb Home
White Papers IT Jobs Events Research Premium Services Training & Certification Media Kit
Jupitermedia is publisher of the internet.com and EarthWeb.com networks.
Copyright 2004 Jupitermedia Corporation All Rights Reserved.

Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.
Advertise on EarthWeb
http://www.earthweb.com/
http://www.internet.com/