Share via


Json Class

Definition

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.

Applies to