Json Methods

Include Protected Members
Include Inherited Members

The Json type exposes the following members.

Methods

  Name Description
Public methodStatic member Decode(String) Converts data in JavaScript Object Notation (JSON) format into a data object.
Public methodStatic member Decode(String, Type) Converts data in JavaScript Object Notation (JSON) format into a data object of a specified type.
Public methodStatic member Decode<T>(String) Converts data in JavaScript Object Notation (JSON) format into the specified strongly typed data list.
Public methodStatic member Encode Converts a data object to a string that is in the JavaScript Object Notation (JSON) format.
Public methodStatic member Write Converts a data object to a string in JavaScript Object Notation (JSON) format and adds the string to the specified TextWriter object.

Top

See Also

Reference

Json Class

System.Web.Helpers Namespace