Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
class Newtonsoft.​Json.​Serialization.​CamelCaseNamingStrategy
Assembly: Newtonsoft.Json
Inheritance: object → NamingStrategy → CamelCaseNamingStrategy
A camel case naming strategy.
Properties
public
bool
ProcessDictionaryKeys
A flag indicating whether dictionary keys should be processed.
Defaults to <c>false</c> .
public
bool
ProcessExtensionDataNames
A flag indicating whether extension data names should be processed.
Defaults to <c>false</c> .
public
bool
OverrideSpecifiedNames
A flag indicating whether explicitly specified property names,
e.g. a property name customized with a <see cref="T:Newtonsoft.Json.JsonPropertyAttribute" /> , should be processed.
Defaults to <c>false</c> .
Methods
protected
string
ResolvePropertyName​(string name)
Resolves the specified property name.
Returns The resolved property name.
name
The property name to resolve.
public
string
GetPropertyName​(string name,
bool hasSpecifiedName)
Inherited from NamingStrategy
Gets the serialized name for a given property name.
Returns The serialized property name.
name
The initial property name.
hasSpecifiedName
A flag indicating whether the property has had a name explicitly specified.
public
string
GetExtensionDataName​(string name)
Inherited from NamingStrategy
Gets the serialized name for a given extension data name.
Returns The serialized extension data name.
name
The initial extension data name.
public
string
GetDictionaryKey​(string key)
Inherited from NamingStrategy
Gets the serialized key for a given dictionary key.
Returns The serialized dictionary key.
key
The initial dictionary key.
public
bool
Equals​(object obj)
Inherited from object
protected
void
Finalize​()
Inherited from object
public
int
GetHashCode​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object