Table of Contents

Class OrderedSerializationContractResolver

Namespace
TimeCockpit.Data.JsonConverters
Assembly
TimeCockpit.Data.dll

Defines a certain order for serializing and deserializing properties of a ModelEntityBase

public class OrderedSerializationContractResolver : DefaultContractResolver
Inheritance
Object
OrderedSerializationContractResolver

Constructors

OrderedSerializationContractResolver()

public OrderedSerializationContractResolver()

Methods

CreateProperties(Type, MemberSerialization)

Creates properties for the given Newtonsoft.Json.Serialization.JsonObjectContract.

protected override IList<JsonProperty> CreateProperties(Type type, MemberSerialization memberSerialization)

Parameters

type Type

the type to create properties for.

memberSerialization MemberSerialization

the type of member serialization.

Returns

IList<JsonProperty>

Properties for the given System.Type.