Table of Contents

ResolvePropertyKeyByConvention Method

Definition

Namespace
Savvyio.Extensions.Newtonsoft.Json
Assemblies
Savvyio.Extensions.Newtonsoft.Json.dll
Source
src/Savvyio.Extensions.Newtonsoft.Json/JsonSerializerExtensions.cs

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

serializer JsonSerializer

The Newtonsoft.Json.JsonSerializer to use for resolving the property key.

name string

The name of the property to resolve.

Returns

string

The resolved property key.