Handbook
Glossary
read-jsons ( -- objects )
JSON serialization
Prev:
read-json ( -- object )
Next:
path>json ( path -- json )
Vocabulary
json
Inputs
None
Outputs
objects
a
sequence
of deserialized objects
Word description
Reads JSON formatted strings into a vector of Factor object until the end of the stream is reached. JSON objects are converted to Factor hashtables. All other JSON objects convert to their obvious Factor equivalents.
See also
>json
,
json>
,
read-json
,
write-json
Definition
USING:
io
namespaces
;
IN:
json
:
read-jsons
( -- objects )
input-stream
get
stream-read-jsons
;