Show / Hide Table of Contents

    Class JsonPropertyAttribute

    Inheritance
    Attribute
    JsonPropertyAttribute
    Namespace: System.Dynamic.ExpandoObject
    Assembly: Newtonsoft.Json.dll
    Syntax
    [System.AttributeUsage(System.AttributeTargets.Property | System.AttributeTargets.Field | System.AttributeTargets.Parameter, AllowMultiple=false)]
    public sealed class JsonPropertyAttribute : Attribute

    Constructors

    JsonPropertyAttribute()

    Declaration
    public JsonPropertyAttribute ();

    JsonPropertyAttribute(String)

    Declaration
    public JsonPropertyAttribute (string propertyName);
    Parameters
    String propertyName

    Properties

    DefaultValueHandling

    Declaration
    public Newtonsoft.Json.DefaultValueHandling DefaultValueHandling { get; set; }
    Property Value
    DefaultValueHandling

    IsReference

    Declaration
    public bool IsReference { get; set; }
    Property Value
    Boolean

    ItemConverterParameters

    Declaration
    public object[] ItemConverterParameters { get; set; }
    Property Value
    Object[]

    ItemConverterType

    Declaration
    public Type ItemConverterType { get; set; }
    Property Value
    Type

    ItemIsReference

    Declaration
    public bool ItemIsReference { get; set; }
    Property Value
    Boolean

    ItemReferenceLoopHandling

    Declaration
    public Newtonsoft.Json.ReferenceLoopHandling ItemReferenceLoopHandling { get; set; }
    Property Value
    ReferenceLoopHandling

    ItemTypeNameHandling

    Declaration
    public Newtonsoft.Json.TypeNameHandling ItemTypeNameHandling { get; set; }
    Property Value
    TypeNameHandling

    NamingStrategyParameters

    Declaration
    public object[] NamingStrategyParameters { get; set; }
    Property Value
    Object[]

    NamingStrategyType

    Declaration
    public Type NamingStrategyType { get; set; }
    Property Value
    Type

    NullValueHandling

    Declaration
    public Newtonsoft.Json.NullValueHandling NullValueHandling { get; set; }
    Property Value
    NullValueHandling

    ObjectCreationHandling

    Declaration
    public Newtonsoft.Json.ObjectCreationHandling ObjectCreationHandling { get; set; }
    Property Value
    ObjectCreationHandling

    Order

    Declaration
    public int Order { get; set; }
    Property Value
    Int32

    PropertyName

    Declaration
    public string PropertyName { get; set; }
    Property Value
    String

    ReferenceLoopHandling

    Declaration
    public Newtonsoft.Json.ReferenceLoopHandling ReferenceLoopHandling { get; set; }
    Property Value
    ReferenceLoopHandling

    Required

    Declaration
    public Newtonsoft.Json.Required Required { get; set; }
    Property Value
    Required

    TypeNameHandling

    Declaration
    public Newtonsoft.Json.TypeNameHandling TypeNameHandling { get; set; }
    Property Value
    TypeNameHandling

    Back to top Azure SDK for Net