Create Method
Definition
- Namespace
- Codebelt.Extensions.Newtonsoft.Json
- Assemblies
- Codebelt.Extensions.Newtonsoft.Json.dll
Create<T>(params Action<PropertyInfo, JsonProperty>[])
Creates the specified resolver.
public static IContractResolver Create<T>(params Action<PropertyInfo, JsonProperty>[] jsonPropertyHandlers) where T : IContractResolver
Parameters
jsonPropertyHandlersAction<PropertyInfo, JsonProperty>[]The array of delegates that will handle custom rules of a Newtonsoft.Json.Serialization.JsonProperty.
Returns
- IContractResolver
An Newtonsoft.Json.Serialization.IContractResolver implementation of
T.
Type Parameters
TThe type that inherits from Newtonsoft.Json.Serialization.IContractResolver.