Table of Contents
readjson
Table of Contents
Prototype: readjson(filename, optional_maxbytes)
Return type: data
Description: Parses JSON data from the file filename
and returns the
result as a data
variable. maxbytes
is optional, if specified, only the
first maxbytes
bytes are read from filename
.
Arguments:
Example:
vars:
"loadthis"
data => readjson("/tmp/data.json", 4000);
See also: readdata()
, parsejson()
, storejson()
, parseyaml()
, readyaml()
, mergedata()
, and data
documentation.