|
|
|
|
|
- Properties specific to jsonReader variables
jsonReader (Variable type) In french: jsonReader
The jsonReader type is used to loop through large JSON documents with optimal performance and low memory usage. You can read the characteristics of this JSON document using different WLanguage properties. Note: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable. Note: This variable type is only available from version 2025 - Update 3. JSON_Reader is jsonReader = JSONOpenReader("file.json")
FOR EACH JSON_Reader IN-DEPTH
...
END
Properties Properties specific to jsonReader variables The following properties can be used to handle a JSON document: | | | Property name | Type used | Effect |
---|
Name | Character string | - Member name, if the current element is a member of an object.
- Empty string ("") if the current element is the root or is an array element.
This property is read-only. | Depth | Integer | Depth of the current element. This property is read-only. | JSONSource | Character string | JSON source corresponding to the current element. This property is read-only. | Parent | jsonReader | Parent element in an in-depth loop. This property is read-only. | Type | Integer | Type of the current element:- wlBoolean: Simple JSON boolean value.
- wlUnicodeString: Simple JSON string.
- wlInt: Simple JSON integer.
- wlNull: Simple JSON Null value.
- wlNumeric: Simple JSON decimal value.
- wlVariantObject: JSON object.
- wlVariantArray: JSON array.
- wlEmpty: Reader not initialized.
This property is read-only. | Value | All types | Value if the current element is a simple type (other than object or array). This property is read-only. |
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|