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