Skip to main content

Module parse

Module parse 

Source
Expand description

JSON text as JSON PARSE reads it (Language Reference SC27-8713-03, pp. 384-396): RFC 8259’s grammar, with IBM’s escape \x for NEXT LINE (U+0085).

Enums§

Invalid
Why JSON text is refused: JSON-CODE 100, 101 and 102.
Value

Functions§

decimal
A number’s sign, integer digits without leading zeros and fraction digits, its exponent applied.
numeric_string
A string JSON PARSE takes as a number (p. 396): spaces, a sign, digits with at most one decimal point among or before them, and spaces; as sign, integer digits and fraction digits.
parse
The value JSON text holds; nothing but whitespace may follow it.