- json-write OBJECT #!optional PORTprocedure
Writes the Scheme data object OBJECT in JSON format to PORT which defaults to the value of (current-output-port). Scheme data is mapped to JSON format in the following way:
Scheme JSON Hash-table Structure Vector Structure (assuming vector consists of (SYMBOL . DATA) pairs List Array Number Number Void Null String or symbol String