csharp-sdk-upm/Libs/Newtonsoft.Json.AOT/Serialization/DefaultNamingStrategy.cs

18 lines
576 B
C#

namespace LC.Newtonsoft.Json.Serialization
{
/// <summary>
/// The default naming strategy. Property names and dictionary keys are unchanged.
/// </summary>
public class DefaultNamingStrategy : NamingStrategy
{
/// <summary>
/// Resolves the specified property name.
/// </summary>
/// <param name="name">The property name to resolve.</param>
/// <returns>The resolved property name.</returns>
protected override string ResolvePropertyName(string name)
{
return name;
}
}
}