<PackageReference Include="Newtonsoft.Json" Version="10.0.3" />

NamingStrategy

public abstract class NamingStrategy
A base class for resolving how property names and dictionary keys are serialized.
public bool OverrideSpecifiedNames { get; set; }

A flag indicating whether explicitly specified property names, e.g. a property name customized with a JsonPropertyAttribute, should be processed. Defaults to false.

public bool ProcessDictionaryKeys { get; set; }

A flag indicating whether dictionary keys should be processed. Defaults to false.

public bool ProcessExtensionDataNames { get; set; }

A flag indicating whether extension data names should be processed. Defaults to false.

protected NamingStrategy()

public virtual string GetDictionaryKey(string key)

Gets the serialized key for a given dictionary key.

public virtual string GetExtensionDataName(string name)

Gets the serialized name for a given extension data name.

public virtual string GetPropertyName(string name, bool hasSpecifiedName)

Gets the serialized name for a given property name.

protected abstract string ResolvePropertyName(string name)

Resolves the specified property name.