DataWeave 2.0 Cheatsheet
A fast, searchable reference of the DataWeave 2.0 functions, operators, and selectors you reach for every day β each with a signature and a one-line example. Filter by category or search by name, keyword, or module.
Reading DataWeave signatures
DataWeave functions are typically written functionName(args): ReturnType.
Many are used with the infix <-> style too β payload map (item, index) -> β¦
is the same as map(payload, (item, index) -> β¦). Lambdas take positional
parameters: for arrays it's (value, index); for objects it's
(value, key, index). This reference covers the core module (available
without an import) plus a few of the most common dw::core::* modules.
Need to run a transform? Try the DataWeave Playground, or scaffold a script from a payload with JSON to DataWeave.