Introducing JSON
page 2 of 9
by Bilal Haidar
Feedback
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 14288/ 326

XML vs. JSON

If you are interested in knowing more about the difference between exchanging data in the XML or JSON format, I would recommend checking the online article "Speeding up AJAX with JSON," which explains in details this subject. This article can be reached here. The author shows how much faster it is to use JSON instead of XML since there will be no construction of the XML DOM tree on the client before being able to access the XML data. Data exchanged in JSON will be nothing but a text human readable data, which can be easily parsed and accessed as a normal object. During this article you will be more introduced to JSON objects, arrays, and other data types and you will see how easy and faster it is to work with JSON especially when we are dealing with web applications AJAX enabled.


View Entire Article

Article Feedback

Title:  
Name:  
Url: ( Optional )
Comment:  
Please add 5 and 5 and type the answer here:

User Comments

Title: Re: IE7 issue   
Name: Martin
Date: 4/4/2008 2:10:49 AM
Comment:
Ok, but what can I do to make it work in IE7 ? I tryed to set postRequest = null; in the GetEmployeeDetails() method but then it turns back with an error ?
Title: Re:   
Name: Bilal Haidar [MVP]
Date: 4/4/2008 2:04:17 AM
Comment:
This is not a problem in the code! I once asked about that and they said it is an IE issue!! Didn't check later what they have done to solve it!

Thanks
Title: IE7 issue   
Name: Martin
Date: 4/4/2008 1:42:19 AM
Comment:
Hi,

I just downloaded the demo app and tested it in IE7 and when i select an "employee" from the dropdown list it shows up as expected, but when I try to choose another one from the dropdown nothing happens, is there an bug in the code ?
Title: Re:   
Name: Bilal Haidar [MVP]
Date: 5/19/2007 2:41:45 AM
Comment:
Yes it is :)

Regards
Title: Where is Jason?   
Name: AbsCoder
Date: 5/18/2007 6:16:26 PM
Comment:
Thanks for the article; good stuff. In the article you make mention twice of "great JSON DLL that is called Jason.NET". Perhaps, I'm dense, but I can't seem to locate said DLL. Do you mean Newtonsoft's Json.NET library? Again, thanks for your contribution to the community!






Ads Powered by Lake Quincy Media
Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2008 ASPAlliance.com  |  Page Processed at 7/20/2008 5:13:58 PM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search