InternetNews.com - Webopedia: Online Dictionary for Computer and Internet Terms
 


   

Partner With Us
















Enter a keyword...
...or choose a category.

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 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:
    Clothing
    1 Store Offers

    Music
    1 Model Matches

     
    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.


    Add internetnews.com
    to your browser search box.

    IE 7 | Firefox 2.0 | Firefox 1.5.x

    Receive news
    via our XML/RSS:
    feed

    More InternetNews.com


    Hardware Software Mobility Web Content
    Search Government Developer Business
    Storage E-Commerce Networking Security




    The Network for Technology Professionals

    Search:

    About Internet.com

    Legal Notices, Licensing, Permissions, Privacy Policy.
    Advertise | Newsletters | E-mail Offers