x_element_type Property
Indicates the data type of the current element.
Syntax
def get_x_element_type() -> int: ...
x_element_type = property(get_x_element_type, None)
Default Value
0
Remarks
This property specifies the data type of the current element. After setting x_path 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 build_dom is False.
This property is read-only.