// Articles. Tutorials. Utilities.
Home  |   Search  |   Login  
Categories Skip Navigation Links
New / All
Google / Android
Python / IronPython
SQL Server
AJAX Source Viewer
View the source code of a Method from ASP.NET AJAX Library. Choose a method from the menu items above (Namespaces, Classes, or Methods).
Method 'serialize(object)'
Method: serialize(object)
Method Full Name:     Sys$Serialization$JavaScriptSerializer$serialize(object)
Class: JavaScriptSerializer
Namespace: Sys.Serialization
Source File: MicrosoftAjax.debug.js
1   Sys.Serialization.JavaScriptSerializer.serialize = function Sys$Serialization$JavaScriptSerializer$serialize(object) {
2     /// <summary locid="M:J#Sys.Serialization.JavaScriptSerializer.serialize" />
3     /// <param name="object" mayBeNull="true"></param>
4     /// <returns type="String"></returns>
5     var e = Function._validateParams(arguments, [
6     {name: "object", mayBeNull: true}
7     ]);
8     if (e) throw e;
9     var stringBuilder = new Sys.StringBuilder();
10    Sys.Serialization.JavaScriptSerializer._serializeWithBuilder(object, stringBuilder, false);
11    return stringBuilder.toString();
12  }
This is the JavaScript source for method serialize(object) from ASP.NET AJAX Library. Full name for this method is Sys$Serialization$JavaScriptSerializer$serialize(object). It belongs to the class JavaScriptSerializer, which is in Sys.Serialization namespace. This source is in MicrosoftAjax.debug.js file.
Bookmark and Share This
About  Contact  Privacy Policy  Site Map