Json.NET - Quick Starts & API Documentation
GetClosestMatchProperty Method (propertyName)
Namespaces ► Newtonsoft.Json.Serialization ► JsonPropertyCollection ► GetClosestMatchProperty(String)
Gets the closest matching JsonProperty object.
First attempts to get an exact case match of propertyName and then
a case insensitive match.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public JsonProperty GetClosestMatchProperty( string propertyName )
Public Function GetClosestMatchProperty ( _ propertyName As String _ ) As JsonProperty
public: JsonProperty^ GetClosestMatchProperty( String^ propertyName )
Parameters
- propertyName (String)
- Name of the property.
Return Value
A matching property if found.