Class JsonPropertyCollection
- Namespace
- Newtonsoft.Json.Serialization
- Assembly
- Newtonsoft.Json.dll
public class JsonPropertyCollection : KeyedCollection<string, JsonProperty>, IList<JsonProperty>, ICollection<JsonProperty>, IList, ICollection, IReadOnlyList<JsonProperty>, IReadOnlyCollection<JsonProperty>, IEnumerable<JsonProperty>, IEnumerable
- Inheritance
-
JsonPropertyCollection
- Implements
- Inherited Members
- Extension Methods
Constructors
JsonPropertyCollection(Type)
public JsonPropertyCollection(Type type)
Parameters
type
Type
Methods
AddProperty(JsonProperty)
public void AddProperty(JsonProperty property)
Parameters
property
JsonProperty
GetClosestMatchProperty(string)
public JsonProperty? GetClosestMatchProperty(string propertyName)
Parameters
propertyName
string
Returns
GetKeyForItem(JsonProperty)
protected override string GetKeyForItem(JsonProperty item)
Parameters
item
JsonProperty
Returns
GetProperty(string, StringComparison)
public JsonProperty? GetProperty(string propertyName, StringComparison comparisonType)
Parameters
propertyName
stringcomparisonType
StringComparison