Handbook
Glossary
>json ( obj -- string )
JSON serialization
Prev:
path>jsons ( path -- jsons )
Next:
json-print ( obj -- )
Vocabulary
json
Inputs
obj
an
object
Outputs
string
the object converted to JSON format
Word description
Serializes the object into a JSON formatted string.
See also
json-print
Definition
USING:
io.streams.string
;
IN:
json
:
>json
( obj -- string )
[
json-print
]
with-string-writer
;