Click or drag to resize
Json.NET

JsonPropertyCollectionGetKeyForItem Method

 
When implemented in a derived class, extracts the key from the specified element.

Namespace:  Newtonsoft.Json.Serialization
Assembly:  Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 12.0.1+509643a8952ce731e0207710c429ad6e67dc43db
Syntax
C#
protected override string GetKeyForItem(
	JsonProperty item
)

Parameters

item
Type: Newtonsoft.Json.SerializationJsonProperty
The element from which to extract the key.

Return Value

Type: String
The key for the specified element.
See Also