Newtonsoft.Json.JsonPropertyAttribute
Instructs the JsonSerializer to always serialize the member with the specified name.
namespace Newtonsoft.Json
{
public sealed class JsonPropertyAttribute : Attribute
{
public Type ItemConverterType { get; set; }
public object[] ItemConverterParameters { get; set; }
public Type NamingStrategyType { get; set; }
public object[] NamingStrategyParameters { get; set; }
public NullValueHandling NullValueHandling { get; set; }
public DefaultValueHandling DefaultValueHandling { get; set; }
public ReferenceLoopHandling ReferenceLoopHandling { get; set; }
public ObjectCreationHandling ObjectCreationHandling { get; set; }
public TypeNameHandling TypeNameHandling { get; set; }
public bool IsReference { get; set; }
public int Order { get; set; }
public Required Required { get; set; }
public string PropertyName { get; set; }
public ReferenceLoopHandling ItemReferenceLoopHandling { get; set; }
public TypeNameHandling ItemTypeNameHandling { get; set; }
public bool ItemIsReference { get; set; }
public JsonPropertyAttribute();
public JsonPropertyAttribute(string propertyName);
}
}