JsonCreationConverter<T> 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.
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.JsonConverterJsonCreationConverter<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. |