JSON loader

It loads given rows to a JSON file.

Configuration

XPath

Type

Description

json/@outputFileName

Attribute

Name of the output file

Example

Input data

Row

stringField

integerField

1

String: 'value1'

Integer: 1

2

String: 'value2'

Integer: 2

Pipeline configuration

<json outputFileName="data/output/output.json"/>

Output data

[
    {
        "stringField": "value1",
        "integerField": 1
    },
    {
        "stringField": "value2",
        "integerField": 2
    }
]