githubEdit

Processor

The "Processor" is a powerful task designed to process and transform data from the input format to a completely different output format without using any programming.

To do that it uses the power of jqarrow-up-right JSON processor.

Let's imagine, we have an input dataset of elements, each of which has 3 fields: id, amount and currency. What we want to do with it is to calculate a total amount, a total amount in euros, and get all IDs as a separate list. Something like that:

{
    IDs: [1, 2, 3, 4],
    totalAmount: 1500,
    totalAmountInEUR: 1000,
}

That is how can be done just using "Processor":

More information and examples are in the official jq documentationarrow-up-right.

Last updated