Input Format "Json"
This input format allows you to split a JSON file representing a batch of documents into the individual documents, and to extract or add related file attachments to the JSON file.
Property | Description |
|---|---|
InputFormat[].DocProperty | Definition of the property in a JSON file, based on which this file will be split into separate document-specific parts (optional) By default, a JSON file is assumed to contain only one document. When splitting, the original document is discarded and a copy of the original document is generated instead for each new partial document. The document-specific part of the original CSV file is added to this copy as another attachment. The split documents generated are given the name suffix The syntax to use for specifying the property is JSONPath, which is the same as that used for extracting index data (see JSON index data reader). For example, if the JSON object contains a { "Documents": [ {…}, {…} ] } |
InputFormat[].AttachFileMode | Mode determining how additional file attachments are extracted from or added to the JSON file:
When using the |
InputFormat[].AttachFileProperty(*) | This property applies to the Subparameters in JSONPath syntax for defining the properties that contain data concerning the file attachments
Parameters 2 and 3 only apply to the Further subparameters of freely selectable names are permitted. These parameters are added to the file attachments as metadata. |
InputFormat[].AttachFileRefMacro(*) | Field macro expression that must return a file name or name pattern in This expression can optionally also be used in In the macro expression, you can use file variables like |