JSON Element - RemoveAt Method

Remove a specific element

Member of JSON Element (PRIM_WEB.JsonElement)


NameTypeData TypeDescription
Result*Result (Optional)PRIM_WEB.JsonElementReference to the removed element
Index*InputIntegerIndex of the element to be removed


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.


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

See also

All Component Classes

Technical Reference

LANSA Version 15, April 2020