Compartilhar via


JsonCreationConverter<T> Class

Definition

Abstract base class, serves as a base class for the object creators during deserialize objects from the Json using Newtonsoft.Json

generic <typename T>
public ref class JsonCreationConverter abstract : Newtonsoft::Json::JsonConverter
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>

Constructors

JsonCreationConverter<T>()

Methods

CanConvert(Type)

Can convert input type to the desired one?

FieldExists(String, JObject)

Does expected field exist?

ReadJson(JsonReader, Type, Object, JsonSerializer)

Read and parse json file.

WriteJson(JsonWriter, Object, JsonSerializer)

Write json file.

Applies to