WeavyContractResolver.CreateProperty Method

Namespace:
Weavy.Core.Json
Assembly:
Weavy.Core.dll

CreateProperty(MemberInfo, MemberSerialization)

Makes sure empty collections are not serialized.

protected override JsonProperty CreateProperty(MemberInfo member, MemberSerialization memberSerialization)

Parameters

member
System.Reflection.MemberInfo
memberSerialization
Newtonsoft.Json.MemberSerialization

Returns

Newtonsoft.Json.Serialization.JsonProperty