IPWorks IoT 2020 Kotlin Edition

Questions / Feedback?

XElementType Property

Indicates the data type of the current element.

Syntax

public val xElementType: JsonXElementTypes

public enum class JsonXElementTypes(val value: Int) {
etObject(0),
etArray(1),
etString(2),
etNumber(3),
etBool(4),
etNull(5);
}

Default Value

0

Remarks

This property specifies the data type of the current element. After setting XPath this property is populated. Possible values are:

  • 0 (Object)
  • 1 (Array)
  • 2 (String)
  • 3 (Number)
  • 4 (Bool)
  • 5 (Null)
  • 6 (Raw)

Note: This property is not applicable when parsing a document and BuildDOM is False.

This property is read-only.

Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks IoT 2020 Kotlin Edition - Version 20.0 [Build 7941]