Skip to content

JsonAcceptSingleOrArrayAttribute Class ​

Definition ​

Allows inbound JSON for a list- or array-shaped member to be either a single JSON object or a JSON array. Deserialization always materializes a list (or array); outbound serialization always writes a JSON array.

  • Namespace: JASE.Attributes
  • Assembly: JASE.Serializers.dll

Constructors ​

NameDescription
JsonAcceptSingleOrArrayAttribute()Initializes a new instance of the JsonAcceptSingleOrArrayAttribute class.