Documentation for: ASP.NET Ajax Version 1.0

This documentation is for a previous version. For the current released version, see the ASP.NET Ajax documentation on MSDN.

 

 

 

 

 

 

 

Sys.Serialization.JavaScriptSerializer deserialize Method

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.

Syntax

var result = JavaScriptSerializer.deserialize(value);

Parameter

Description

value

The JSON string to deserialize.

Remarks

The deserialize method converts a JSON string into a JavaScript object graph by using the JavaScript eval function.

note

This method preprocesses embedded date values to make them usable by the eval function.