JsonArrayAttribute Class

Namespace: Stimulsoft.Base.Json

Inheritance

Inherits from: JsonContainerAttribute

Constructors

Constructor Description
JsonArrayAttribute() Initializes a new instance of the JsonArrayAttribute class.
JsonArrayAttribute(bool allowNullItems) Initializes a new instance of the JsonObjectAttribute class with a flag indicating whether the array can contain null items
JsonArrayAttribute(string id) Initializes a new instance of the JsonArrayAttribute class with the specified container Id.

JsonArrayAttribute()

Initializes a new instance of the JsonArrayAttribute class.


JsonArrayAttribute(allowNullItems: bool)

Initializes a new instance of the JsonObjectAttribute class with a flag indicating whether the array can contain null items

Parameters

  • allowNullItems (bool) — A flag indicating whether the array can contain null items.

JsonArrayAttribute(id: string)

Initializes a new instance of the JsonArrayAttribute class with the specified container Id.

Parameters

  • id (string) — The container Id.