Serializes JavaScript types into JSON-formatted data and deserializes JSON-formatted data into JavaScript types The JavaScriptSerializer class contains only static methods.
Initializes a new instance of the Sys.Serialization.JavaScriptSerializer class.
Converts a JSON string into an ECMAScript (JavaScript) object graph. This member is static and can be invoked without creating an instance of the class.
The JSON string to deserialize.
any
Converts an ECMAScript (JavaScript) object graph into a JSON string. This member is static and can be invoked without creating an instance of the class.
The JavaScript object graph to serialize.
string