|
|
Registered tutorials: 501 Registered Users: 33128
|
|
Rating: 0 out of 0 votes cast
Category: Ajax and .NET
|
Creating a more accurate JSON .NET Serializer
Abstract: In this blog article, author shows the code that extends the JavaScriptSerializer to use the XML attributes to serialize my objects and give me greater control over how they were written in to JSON text form.
Recently I have been diving in to the world of REST and all the great things that come along with that. If you are not familiar with REST and what it means to have a REST Web Service for your site, you can go through the Digg API, which should give you a pretty good idea. My company has been contracted to build the framework for a new Web 2.0 initiative of one of our clients. You cannot do Web 2.0 if you are not using some kind of AJAX/REST combination. With the inclusion of Microsoft AJAX.NET are some very useful tools that have been added to the web services library. My current focus in System.Web.Script.Serialization.JavaScriptSerializer, which takes you objects and turns them in to a JSON string that can be evaluated by JavaScript and reversed in to an object. JSON (pronounced Jason) is very useful in AJAX because you do not have to retrieve and parse XML through the XML Browser Request that powers current AJAX implementations.
|
Reviews:
Rate and Review This Site
No reviews yet
Statistic Information About this Resource:
| Total Hits: |
31 |
| Unique Hits: |
26 |
| |
Daily |
Weekly |
Monthly |
| |
Unique |
Total |
Unique |
Total |
Unique |
Total |
| Average |
0 |
0 |
0.3 |
0.3 |
1 |
1.2 |
| Current |
0 |
0 |
0 |
0 |
0 |
0 |
| Previous |
0 |
0 |
0 |
0 |
3 |
3 |
| Nov 29 |
0 |
0 |
1 |
1 |
0 |
0 |
| Nov 28 |
0 |
0 |
0 |
0 |
3 |
4 |
| Nov 27 |
0 |
0 |
0 |
0 |
0 |
0 |
| Nov 26 |
0 |
0 |
0 |
0 |
0 |
0 |
| Nov 25 |
0 |
0 |
2 |
2 |
0 |
0 |
| Nov 24 |
0 |
0 |
0 |
0 |
0 |
0 |
| Nov 23 |
0 |
0 |
0 |
0 |
3 |
4 |
| Nov 22 |
0 |
0 |
0 |
0 |
1 |
1 |
| Highest |
3 |
3 |
6 |
6 |
6 |
7 |
|
|
|
Script Execution Time: 0.55288 | SQL Queries: 10 | Members: 501
Ajax Tutorial Top List - Powered by Aardvark Topsites PHP 5.1.2
|