Json.NET Documentation
Json.NET Documentation
API Reference
Newtonsoft.Json.Serialization
JsonPropertyCollection Class
JsonPropertyCollection Methods
AddProperty Method
GetClosestMatchProperty Method
GetKeyForItem Method
GetProperty Method
JsonPropertyCollection
GetKeyForItem 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#
Copy
protected
override
string
GetKeyForItem
(
JsonProperty
item
)
Parameters
item
Type:
Newtonsoft.Json.Serialization
JsonProperty
The element from which to extract the key.
Return Value
Type:
String
The key for the specified element.
See Also
Reference
JsonPropertyCollection Class
Newtonsoft.Json.Serialization Namespace
Json.NET Home