SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Mar 2007
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    JSON - Benefits & Uses

    Hello.

    Can anyone please shed some light how can we use JSON - Javascript Object notation.

    I know and have gone through json.org website.

    But would like to know more from the experienced users out here regarding JSON.

    Regards

  2. #2
    SitePoint Wizard
    Join Date
    Mar 2001
    Posts
    3,537
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    JSON is a way of formatting data. XML is another method for formatting data. JSON is simpler. JSON comes from one syntax used in js to create objects.

    You might use js to make an XMLHttpRequest to the server, and then the server side script could send some data back in JSON format. With one eval() call, the data would become a js object.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •