Json Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides methods for working with data in JavaScript Object Notation (JSON) format.
public static class Json
type Json = class
Public Class Json
- Inheritance
-
Json
Methods
Decode(String, Type) |
Converts data in JavaScript Object Notation (JSON) format into a data object of a specified type. |
Decode(String) |
Converts data in JavaScript Object Notation (JSON) format into a data object. |
Decode<T>(String) |
Converts data in JavaScript Object Notation (JSON) format into the specified strongly typed data list. |
Encode(Object) |
Converts a data object to a string that is in the JavaScript Object Notation (JSON) format. |
Write(Object, TextWriter) |
Converts a data object to a string in JavaScript Object Notation (JSON) format and adds the string to the specified TextWriter object. |