Skip to main content

JsonSchemaNode.NodeType Property

Gets or sets the type of the JSON object’s node that the JsonSchemaNode object defines.

Namespace: DevExpress.DataAccess.Json

Assembly: DevExpress.DataAccess.v23.2.dll

NuGet Packages: DevExpress.DataAccess, DevExpress.Win.PivotGrid, DevExpress.Win.TreeMap

Declaration

public JsonNodeType NodeType { get; set; }

Property Value

Type Description
JsonNodeType

A JsonNodeType enumeration value.

Available values:

Name Description
Object

Identifies a JSON node as an object.

Array

Identifies a JSON node as an array.

Property

Identifies a JSON node as a property.

Remarks

If you pass a JsonNode object as the JsonSchemNode‘s constructor parameter, the passed object’s NodeType property value is assigned to this property.

If you specify this property, its value is assigned to the associated JsonNode‘s NodeType property.

See Also