Show / Hide Table of Contents

Class VerifierResolver

Custom resolver for customizing the json serialization

Inheritance
System.Object
VerifierResolver
Namespace: SigStat.Common.Helpers.Serialization
Assembly: SigStat.Common.dll
Syntax
public class VerifierResolver : DefaultContractResolver

Methods

| Improve this Doc View Source

CreateProperties(Type, MemberSerialization)

Decides if the current property should be serialized or not

Declaration
protected override IList<JsonProperty> CreateProperties(Type type, MemberSerialization memberSerialization)
Parameters
Type Name Description
Type type

The type of the current property

MemberSerialization memberSerialization

The type of member serialization in Json.NET

Returns
Type Description
IList<JsonProperty>

A bool

| Improve this Doc View Source

CreateProperty(MemberInfo, MemberSerialization)

Selects which JsonConverter should be used for the property

Declaration
protected override JsonProperty CreateProperty(MemberInfo member, MemberSerialization memberSerialization)
Parameters
Type Name Description
MemberInfo member

A

MemberSerialization memberSerialization

The type of member serialization in Json.NET

Returns
Type Description
JsonProperty
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX