Click or drag to resize
Json.NET

JsonPropertyCollectionGetClosestMatchProperty Method

 
Gets the closest matching JsonProperty object. First attempts to get an exact case match of propertyName and then a case insensitive match.

Namespace:  Newtonsoft.Json.Serialization
Assembly:  Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 12.0.1+509643a8952ce731e0207710c429ad6e67dc43db
Syntax
C#
public JsonProperty GetClosestMatchProperty(
	string propertyName
)

Parameters

propertyName
Type: SystemString
Name of the property.

Return Value

Type: JsonProperty
A matching property if found.
See Also