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.v21.2.dll

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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the NodeType property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also