Handbook
Glossary
path>jsons ( path -- jsons )
JSON serialization
Prev:
path>json ( path -- json )
Next:
>json ( obj -- string )
Vocabulary
json
Inputs
path
a pathname string
Outputs
jsons
a
sequence
of JSON objects
Word description
Reads a file into a sequence of JSON objects and returns them all.
See also
path>json
,
json>path
,
jsons>path
Definition
USING:
io.encodings.utf8
io.files
;
IN:
json
:
path>jsons
( path -- jsons )
utf8
[
read-jsons
]
with-file-reader
;