__jsonNodeKind (Function)

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

Description: Internal primitive of jsonDecode: the kind code of one value. Call jsonDecode instead.

Parameters

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

Returns: int

Example

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