public class SystemTextJsonStringToClassSerializerFormatter<TState> : SystemTextJsonSerializerFormatter<string, TState>
Public Class SystemTextJsonStringToClassSerializerFormatter(Of TState)
Inherits SystemTextJsonSerializerFormatter(Of String, TState)type SystemTextJsonStringToClassSerializerFormatter<'TState> =
class
inherit SystemTextJsonSerializerFormatter<string, 'TState>
end| SystemTextJsonStringToClassSerializerFormatterTState | 初始化 SystemTextJsonStringToClassSerializerFormatterTState 类的一个新实例 |
| JsonSettings |
获取或设置Json序列化选项。
(继承自 SystemTextJsonSerializerFormatterTSource, TState。) |
| Order |
转换器执行顺序。
该属性值越小,越靠前执行。值相等时,按添加先后顺序。 该属性效果,仅在 Add(ISerializerFormatterTSource, TState) 之前设置有效。 (继承自 SystemTextJsonSerializerFormatterTSource, TState。) |
| Equals | Determines whether the specified object is equal to the current object. (继承自 Object。) |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (继承自 Object。) |
| GetHashCode | Serves as the default hash function. (继承自 Object。) |
| GetType | Gets the Type of the current instance. (继承自 Object。) |
| MemberwiseClone | Creates a shallow copy of the current Object. (继承自 Object。) |
| ToString | Returns a string that represents the current object. (继承自 Object。) |
| TryDeserialize |
尝试将源数据反序列化为目标类型对象。
(重写 SystemTextJsonSerializerFormatterTSource, TStateTryDeserialize(TState, TSource, Type, Object)) |
| TrySerializeTTarget(TState, TTarget, TSource) |
尝试将目标类型对象序列化为源数据。
(继承自 SystemTextJsonSerializerFormatterTSource, TState。) |
| TrySerializeTTarget(TState, TTarget, String) |
尝试将目标类型对象序列化为源数据。
(重写 SystemTextJsonSerializerFormatterTSource, TStateTrySerializeTTarget(TState, TTarget, TSource)) |
| ToJsonString |
转换为Json
(由 SerializeConvert 定义。) |