Table of Contents

Class NamingStrategy

Namespace
Newtonsoft.Json.Serialization
Assembly
Newtonsoft.Json.dll
public abstract class NamingStrategy
Inheritance
NamingStrategy
Derived
Inherited Members
Extension Methods

Constructors

NamingStrategy()

protected NamingStrategy()

Properties

OverrideSpecifiedNames

public bool OverrideSpecifiedNames { get; set; }

Property Value

bool

ProcessDictionaryKeys

public bool ProcessDictionaryKeys { get; set; }

Property Value

bool

ProcessExtensionDataNames

public bool ProcessExtensionDataNames { get; set; }

Property Value

bool

Methods

Equals(NamingStrategy?)

protected bool Equals(NamingStrategy? other)

Parameters

other NamingStrategy

Returns

bool

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetDictionaryKey(string)

public virtual string GetDictionaryKey(string key)

Parameters

key string

Returns

string

GetExtensionDataName(string)

public virtual string GetExtensionDataName(string name)

Parameters

name string

Returns

string

GetHashCode()

public override int GetHashCode()

Returns

int

GetPropertyName(string, bool)

public virtual string GetPropertyName(string name, bool hasSpecifiedName)

Parameters

name string
hasSpecifiedName bool

Returns

string

ResolvePropertyName(string)

protected abstract string ResolvePropertyName(string name)

Parameters

name string

Returns

string