JSONObjectSize

Family: JSON · One form

What it does

JSONObjectSize takes jsonValue (an integer), and answers an integer.

Syntax

JSONObjectSize(jsonValue integer) → integer

Parameters

NameType
jsonValueinteger

Every form returns

integer

Example · generated

DO  Print(JSONObjectSize(1))  Sync()LOOP

JSONObjectSize is called and its answer is printed every frame. 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.

36 commands in JSON