Skip to main content
Reshapes a whole list or object in one step. You point at the collection you want to work on with an accessor, then apply one or more conversions to it as a set rather than item by item. Whatever the conversions return replaces the original: any entry they drop is removed, and the rest are written back. Use this for jobs that act on the collection as a whole, such as sorting it, reversing it, removing duplicates, or swapping its keys and values.

Fields

Sample data

FieldValue
AccessorPattern accessor matching * (all top-level keys)
MappersArray or object: Flip keys and values
Input:
{
    "color": "grey",
    "size": "M",
    "material": "wool"
}
Output:
{
    "grey": "color",
    "M": "size",
    "wool": "material"
}
The conversion swapped each key with its value across the whole set: the old field names became values, and the old values became the new field names.