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 Class

Introduction

Serializes ECMAScript (JavaScript) types into JSON-formatted data and deserializes JSON-formatted data into JavaScript types.

Namespace: Sys.Net

Inherits: None

Members

Name

Description

serialize Method

Converts a JavaScript object graph into a JSON string.

deserialize Method

Converts a JSON string into a JavaScript object graph.

Remarks

The JavaScriptSerializer class contains only static methods.