Read JSON file
XML
<file:readjson var="var" filename="string"/>
<file:readjson /> reads a file, whereby generating a value from a JavaScript Object Notation (JSON) representation according to RFC 4627.
<file:readjson /> is the complement of the <file:writejson /> operation.
Attributes
| Name | Type | Description | Defined By |
|---|---|---|---|
| var | var | Result variable name | file:readjson |
| filename | string | Filename/URL | file:readjson |
Results
| Binding | Type | Predicate |
|---|---|---|
| var | no-result-propagation |