read-jsons ( -- objects ) - Factor Documentation

read-jsons ( -- objects )
JSON serialization



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 ;

AltStyle によって変換されたページ (->オリジナル) /