You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

JSON Element - ItemAt Property
Access a specific child element
Member of JSON Element (PRIM_WEB.JsonElement)
Data Type - PRIM_WEB.JsonElement - Base JSON element

Parameters

Name

Type

Data Type

Description

Index

*Input

Integer

Index of the element to be accessed

Details


The ItemAt property returns a reference to the Element at the position as specified by the Index parameter

Example


In this example, the first item is being accessed and returned as a string.
#Description := #JSON.ItemAt<1>.asstring

See also

All Component Classes
Technical Reference

  • No labels