Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

JavaScriptSerializer.Serialize Method

Converts an object to a JSON string.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Serialize(Object) Converts an object to a JSON string.
Public method Serialize(Object, StringBuilder) Serializes an object and writes the resulting JSON string to the specified StringBuilder object.
© 2015 Microsoft