JSON Element - RemoveAt Method

Remove a specific element

Member of JSON Element (PRIM_WEB.JsonElement)

Parameters

NameTypeData TypeDescription
Result*Result (Optional)PRIM_WEB.JsonElementReference to the removed element
Index*InputIntegerIndex 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

LANSA Version 15, April 2020