<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />

JsonPropertyCollection

A collection of JsonProperty objects.

Initializes a new instance of the JsonPropertyCollection class.

public void AddProperty(JsonProperty property)

Adds a JsonProperty object.

public JsonProperty GetClosestMatchProperty(string propertyName)

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

public JsonProperty GetProperty(string propertyName, StringComparison comparisonType)

Gets a property by property name.