json-print ( obj -- )
JSON serialization > JSON writer

Prev:>json ( obj -- string )


Vocabulary
json.writer

Inputs and outputs
objan object


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

Definition