write-json ( obj -- )
JSON serialization

Prev:>json ( obj -- string )
Next:json-null? ( object -- ? )


Vocabulary
json

Inputs
objan object


Outputs
None

Word description
Serializes the object into a JSON formatted string and outputs it to the standard output stream.

Some options can control the formatting of the result:
json-allow-fp-special?Allow special floating-points: NaN, Infinity, -Infinity
json-friendly-keys?Convert - to _ in tuple slots and hashtable keys
json-coerce-keys?Coerce hashtable keys into strings
json-escape-slashes?Escape forward slashes inside strings
json-escape-unicode?Escape unicode values inside strings


See also
>json

See also
>json, json>, read-json

Definition