JSONLoader¶
The JSONLoader writes processed rows to a JSON file.
Configuration¶
XPath |
Type |
Description |
|---|---|---|
|
Attribute |
Name of the output JSON file (path relative to the project root). |
Example¶
Input data¶
Row |
stringField |
integerField |
|---|---|---|
1 |
String: |
Integer: |
2 |
String: |
Integer: |
Pipeline configuration¶
<json outputFileName="data/output/output.json"/>
File output¶
[
{
"stringField": "value1",
"integerField": 1
},
{
"stringField": "value2",
"integerField": 2
}
]
Pipeline output¶
Row |
string |
integer |
|---|---|---|
1 |
String: |
Integer: |
2 |
String: |
Integer: |