read-json ( -- object ) (original) (raw)
read-json ( -- object )
JSON serialization
Prev: | json> ( string -- object ) |
---|---|
Next: | read-jsons ( -- objects ) |
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
: read-json ( -- object ) input-stream get stream-read-json ;