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