Transformers

Transformers describe how to modify data.

Schema

When a transformer does not need any configuration, it can be specified only by its name.

For example:

{
    "version": 1,
    "on": "this-value",
    "perform": "list-to-object"
}

Otherwise, this schema applies:

Key

Type

Required

Value

transform

string

No; defaults to pass

Transformer name

*

any

No

Transformer-specific configuration

For example:

{
    "version": 1,
    "on": "each-value",
    "perform": {
        "transform": "pass",
        "path": "foo",
        "cursor": {
            "on": "each-value",
            "perform": "list-to-object"
        }
    }
}