read-json ( -- object ) - Factor Documentation

read-json ( -- object )
JSON serialization



Vocabulary
json

Inputs
None

Outputs
object deserialized object


Word description
Reads a JSON formatted strings into a Factor object. JSON objects are converted to Factor hashtables. All other JSON objects convert to their obvious Factor equivalents.

See also
>json , json> , read-jsons , write-json

Definition
USING: io namespaces ;

IN: json

: read-json ( -- object ) input-stream get stream-read-json ;

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