Transformer (JOLT) V2
Discover more about the Transformer (JOLT) V2 component and how to use it on the Digibee Integration Platform.
Last updated
Discover more about the Transformer (JOLT) V2 component and how to use it on the Digibee Integration Platform.
Last updated
Transformer (JOLT) V2 allows the manipulation of a JSON through JOLT technology.
The component is useful:
To modify the structure of a JSON and keep its values.
To add, extract, and remove data from a JSON.
To sort the structure of a JSON.
To modify the values contained in a JSON through functions, such as text manipulation, mathematical calculations, conversions between data types, among others.
To access and manipulate data from arrays.
Take a look at the configuration parameters of the component. Parameters supported by Double Braces expressions are marked with (DB)
.
Parameter | Description | Default value | Data type |
---|---|---|---|
The Expression Reference parameter is only recommended for highly dynamic scenarios, as maintaining the JOLT operations separately from the Transformer (JOLT) V2 component is very complex.
These scenarios require some precautions depending on how they are implemented, such as: managing JOLT operations through the Object Store component, transformations versioning, segregating definition and execution of the JOLT transformations between pipelines, and so on.
In addition, these scenarios can also increase the need for Log components in the pipeline due to the lack of visibility with dynamic scenarios.
Used to change the structure of a JSON, keeping the values contained in that same JSON.
Example:
Input
Transformation
Output
Used to add new fields or objects in a JSON, if they don't already exist.
Example:
Input
Transformation
Output
Used to remove fields or objects from a JSON.
Example:
Input
Transformation
Output
Used to sort fields and objects in a JSON, in alphabetical order.
Example:
Input
Transformation:
Output
Used to transform simple fields and objects into arrays and vice-versa.
Example:
Input
Transformation
Output
Used to add values and apply functions to a JSON.
Example:
Input
Transformation
Output
Used to override values and apply functions to a JSON.
Example:
Input
Transformation
Output
Expression Reference
If the option is activated, the JOLT Reference parameter expects a JOLT expression declaration through Double Braces reference.
False
Boolean
JOLT
The JOLT expression to be executed.
N/A
JSON
JOLT Reference (DB)
The Double Braces reference to the JOLT expression to be executed. This parameter is available only if Expression Reference is activated.
N/A
String
Fail On Error
If the option is activated, the execution of the pipeline with an error will be interrupted. Otherwise, the pipeline execution proceeds, but the result will show a false value for the “success” property.
False
Boolean