Skip to main content
Returns just the keys of an object as a plain list, throwing away the values. Use this when you care about which fields are present rather than what they contain, for example to produce a list of the attribute names on a product, or to feed the key names into a later step. The result is a numbered list of the key names, in the order they appeared in the object.

Fields

This mapper has no settings. Point it at the object whose keys you want and it transforms whatever value it receives.

Sample data

Input:
{ "attributes": { "color": "red", "size": "M", "material": "cotton" } }
Output:
{ "attributes": ["color", "size", "material"] }