__jsonNodeFirst (Function)

Signature: __jsonNodeFirst(document: int, node: int) -> int

Description: Internal primitive of jsonDecode: the first slot of a container's children. Call jsonDecode instead.

Parameters

  • document (int): Handle from __jsonDecodeOpen
  • node (int): Slot of a container; the root is slot 0

Returns: int

Example

jsonDecode("[1]")
jsonDecode "[1]"