[%CFEngine_function_prototype(filename, maxbytes)%]

Description: Parses JSON data from the first maxbytes bytes of file filename and returns the result as a data variable.

[%CFEngine_function_attributes(filename, maxbytes)%]

Example:

```cf3 vars:

  "loadthis"

     data =>  readjson("/tmp/data.json", 4000); ```

See also: parsejson(), storejson(), parseyaml(), readyaml(), mergedata(), and data documentation.