FineUICore 11.7
企业级 ASP.NET Core 控件库
|
自定义JSON日期转换器 更多...
继承自 Newtonsoft.Json.Converters.DateTimeConverterBase .
Public 成员函数 | |
override object | ReadJson (JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer) |
从JSON对象中读取日期 | |
override void | WriteJson (JsonWriter writer, object value, JsonSerializer serializer) |
将日期写入到JSON对象 | |
自定义JSON日期转换器
override object FineUICore.JSONDateTimeConvertor.ReadJson | ( | JsonReader | reader, |
Type | objectType, | ||
object | existingValue, | ||
JsonSerializer | serializer | ||
) |
从JSON对象中读取日期
reader | |
objectType | |
existingValue | |
serializer |
override void FineUICore.JSONDateTimeConvertor.WriteJson | ( | JsonWriter | writer, |
object | value, | ||
JsonSerializer | serializer | ||
) |
将日期写入到JSON对象
writer | |
value | |
serializer |