Planned⎕JSON
JSON r←[x] ⎕JSON y
This primitive or feature is planned, that is, it doesn't appear in the most recent released implementation of TinyAPL. Details may change before it is added!
Category: Core
x
must be a Boolean scalar and defaults to 0
.
If x
is 0
, y
must be a character vector and r
is the result of parsing JSON code in y
(objects are represented as nested arrays of pairs).
If x
is 1
, y
can be any array and r
is the result of representing y
as JSON, representing arrays of higher rank as nested lists.