Class DefaultNewtonsoftContractResolver

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Json contract resolver which ignores injected properties and supports our verison of camel casing

Inheritance
System.Object
DefaultNewtonsoftContractResolver
Namespace: EPiServer.Framework.Serialization.Json.Internal
Assembly: EPiServer.Framework.dll
Version: 11.20.7
Syntax
[ServiceConfiguration(Lifecycle = ServiceInstanceScope.Singleton, ServiceType = typeof(IContractResolver))]
public class DefaultNewtonsoftContractResolver : DefaultContractResolver

Constructors

DefaultNewtonsoftContractResolver()

Declaration
public DefaultNewtonsoftContractResolver()

Methods

CreateProperty(MemberInfo, MemberSerialization)

Declaration
protected override JsonProperty CreateProperty(MemberInfo member, MemberSerialization memberSerialization)
Parameters
Type Name Description
System.Reflection.MemberInfo member
Newtonsoft.Json.MemberSerialization memberSerialization
Returns
Type Description
Newtonsoft.Json.Serialization.JsonProperty

Extension Methods