__jsonNodeInt (Function)

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

Description: Internal primitive of jsonDecode: an integer's value. Call jsonDecode instead.

Parameters

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

Returns: int

Example

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