__jsonNodeText (Function)

Signature: __jsonNodeText(document: int, node: int) -> string

Description: Internal primitive of jsonDecode: a string's value. Call jsonDecode instead.

Parameters

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

Returns: string

Example

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