Skip to content
Ivan Pidhurskyi edited this page Nov 26, 2025 · 1 revision

JSON parser and formatter

type json = dict(str, json) | array(json) | num | str | void

Type class of representations of JSON data.

Operations:

  • parsejson(str) - Parse JSON from string
  • readjson(port) - Read JSON data from port
  • writejson(port, json) - Write JSON data to output
  • jsonref(json, key_or_index) - Access JSON element by key or index
  • jsonset(json, key_or_index, value) - Set JSON element by key or index

Clone this wiki locally