JavaScriptSerializer.Serialize Method

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Converts an object to a JSON string.

Namespace:   System.Web.Script.Serialization
Assembly:  System.Web.Extensions (in System.Web.Extensions.dll)

NameDescription
System_CAPS_pubmethodSerialize(Object)

Converts an object to a JSON string.

System_CAPS_pubmethodSerialize(Object, StringBuilder)

Serializes an object and writes the resulting JSON string to the specified StringBuilder object.

Return to top
Show: