ResolveDictionaryKeyByConvention Method
Definition
- Namespace
- Savvyio.Extensions.Newtonsoft.Json
- Assemblies
- Savvyio.Extensions.Newtonsoft.Json.dll
ResolveDictionaryKeyByConvention(JsonSerializer, string)
Resolves the dictionary key by convention using the specified Newtonsoft.Json.JsonSerializer.
public static string ResolveDictionaryKeyByConvention(this JsonSerializer serializer, string name)
Parameters
serializerJsonSerializerThe Newtonsoft.Json.JsonSerializer to use for resolving the dictionary key.
namestringThe name of the dictionary key to resolve.
Returns
- string
The resolved dictionary key.