JSON Element - RemoveAt Method
Remove a specific element
Member of JSON Element (PRIM_WEB.JsonElement)

Parameters

Name

Type

Data Type

Description

Result

*Result (Optional)

PRIM_WEB.JsonElement

Reference to the removed element

Index

*Input

Integer

Index of the element to be removed

Details


RemoveAt will remove the item at the specified index.
Attempting to remove an item that does not exist will result in a run time error.

Example


Removing the 4th item from the collection
#RemovedItem <= #JSONElement.RemoveAt(4)

See also

All Component Classes
Technical Reference