Class Serializer.Contracts
Registers the default converters for SadConsole objects, when needed.
Implements
IContractResolver
Inherited Members
DefaultContractResolver.DynamicCodeGeneration
DefaultContractResolver.DefaultMembersSearchFlags
DefaultContractResolver.SerializeCompilerGeneratedMembers
DefaultContractResolver.IgnoreSerializableInterface
DefaultContractResolver.IgnoreSerializableAttribute
DefaultContractResolver.IgnoreIsSpecifiedMembers
DefaultContractResolver.IgnoreShouldSerializeMembers
DefaultContractResolver.NamingStrategy
Namespace: SadConsole
Assembly: SadConsole.dll
Syntax
public class Serializer.Contracts : DefaultContractResolver, IContractResolver
Constructors
Contracts()
Declaration
public Contracts()
Methods
ResolveContractConverter(Type)
Declaration
protected override JsonConverter? ResolveContractConverter(Type objectType)
Parameters
Type | Name | Description |
---|---|---|
Type | objectType |
Returns
Type | Description |
---|---|
JsonConverter |
Overrides
Implements
Newtonsoft.Json.Serialization.IContractResolver