Click or drag to resize
Json.NET

DefaultContractResolverResolveDictionaryKey Method

 
Resolves the key of the dictionary. By default ResolvePropertyName(String) is used to resolve dictionary keys.

Namespace:  Newtonsoft.Json.Serialization
Assembly:  Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 12.0.1+509643a8952ce731e0207710c429ad6e67dc43db
Syntax
C#
protected virtual string ResolveDictionaryKey(
	string dictionaryKey
)

Parameters

dictionaryKey
Type: SystemString
Key of the dictionary.

Return Value

Type: String
Resolved key of the dictionary.
See Also