你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

JsonCreationConverter<T> Class

Definition

Custom Convertor for deserializing JSON

public abstract class JsonCreationConverter<T> : Newtonsoft.Json.JsonConverter
type JsonCreationConverter<'T> = class
    inherit JsonConverter
Public MustInherit Class JsonCreationConverter(Of T)
Inherits JsonConverter

Type Parameters

T
Inheritance
Newtonsoft.Json.JsonConverter
JsonCreationConverter<T>
Derived

Constructors

JsonCreationConverter<T>()

Properties

CanWrite

Gets a value indicating whether this Newtonsoft.Json.JsonConverter can write JSON

Methods

CanConvert(Type)

Determines whether this instance can convert the specified object type.

Create(Type, JObject)

Create an instance of objectType, based on properties in the JSON object

ReadJson(JsonReader, Type, Object, JsonSerializer)

Reads the JSON representation of the object.

WriteJson(JsonWriter, Object, JsonSerializer)

Writes the JSON representation of the object.

Applies to