This library is compatible with Chicken Scheme json module and provides JSON reader and writer. The library is a thin wrapper of (text json) library.
Reads JSON from given port and returns representing S-expression.
Conversion rules:
JSON array <-> list
JSON table <-> vector
JSON boolean <-> boolean
JSON null <-> symbol `null`
Read and write procedure always use above conversion rules even if
*json-map-type*
is set to 'alist
.
Writes the given S-expression JSON representing object to given port.