RemoveJSONElement

Family: JSON · One form

What it does

RemoveJSONElement removes Element on a JSON object. It takes jsonValue (an integer) and index (an integer), and returns nothing.

Syntax

RemoveJSONElement(jsonValue integer, index integer)

Parameters

NameType
jsonValueinteger
indexinteger

Every form returns

nothing

Example · generated

RemoveJSONElement(1, 1)DO  Sync()LOOP

RemoveJSONElement is called with values of the types its signature asks for. The DO … LOOP is not decoration: a classic BASIC program ends the moment it runs out of lines, and Sync() is what draws the frame.

Related commands

36 commands in JSON