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.​JsonArrayAttribute

Assembly: Newtonsoft.Json

Inheritance: object → System.​AttributeJsonContainerAttribute → JsonArrayAttribute

Instructs the <see cref="T:Newtonsoft.Json.JsonSerializer" /> how to serialize the collection.

Properties

public bool
AllowNullItems
Gets or sets a value indicating whether null items are allowed in the collection.
public string
Id
Gets or sets the id.
public string
Title
Gets or sets the title.
public string
Description
Gets or sets the description.
ItemConverterType
Gets or sets the collection's items converter.
public object[]
ItemConverterParameters
The parameter list to use when constructing the <see cref="T:Newtonsoft.Json.JsonConverter" /> described by <see cref="P:Newtonsoft.Json.JsonContainerAttribute.ItemConverterType" /> . If <c>null</c> , the default constructor is used. When non- <c>null</c> , there must be a constructor defined in the <see cref="T:Newtonsoft.Json.JsonConverter" /> that exactly matches the number, order, and type of these parameters.
NamingStrategyType
Gets or sets the <see cref="T:System.Type" /> of the <see cref="T:Newtonsoft.Json.Serialization.NamingStrategy" /> .
public object[]
NamingStrategyParameters
The parameter list to use when constructing the <see cref="T:Newtonsoft.Json.Serialization.NamingStrategy" /> described by <see cref="P:Newtonsoft.Json.JsonContainerAttribute.NamingStrategyType" /> . If <c>null</c> , the default constructor is used. When non- <c>null</c> , there must be a constructor defined in the <see cref="T:Newtonsoft.Json.Serialization.NamingStrategy" /> that exactly matches the number, order, and type of these parameters.
public bool
IsReference
Gets or sets a value that indicates whether to preserve object references.
public bool
ItemIsReference
Gets or sets a value that indicates whether to preserve collection's items references.
ItemReferenceLoopHandling
Gets or sets the reference loop handling used when serializing the collection's items.
ItemTypeNameHandling
Gets or sets the type name handling used when serializing the collection's items.
public object
TypeId

Methods

public bool
Equals​(object obj)
Inherited from System.​Attribute
public int
GetHashCode​()
Inherited from System.​Attribute
public bool
IsDefaultAttribute​()
Inherited from System.​Attribute
public bool
Match​(object obj)
Inherited from System.​Attribute
protected void
Finalize​()
Inherited from object
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object