Click or drag to resize
Json.NET

DefaultContractResolverCreatePropertyFromConstructorParameter Method

 
Creates a JsonProperty for the given ParameterInfo.

Namespace:  Newtonsoft.Json.Serialization
Assembly:  Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 12.0.1+509643a8952ce731e0207710c429ad6e67dc43db
Syntax
C#
protected virtual JsonProperty CreatePropertyFromConstructorParameter(
	JsonProperty matchingMemberProperty,
	ParameterInfo parameterInfo
)

Parameters

matchingMemberProperty
Type: Newtonsoft.Json.SerializationJsonProperty
The matching member property.
parameterInfo
Type: System.ReflectionParameterInfo
The constructor parameter.

Return Value

Type: JsonProperty
A created JsonProperty for the given ParameterInfo.
See Also