Dataweave

mapObject function in DataWeave 2.0 (mulesoft)

We use mapObject when we want to change the keys and/or values on an Object to be something else.

3 years ago

filterObject function in DataWeave 2.0 (mulesoft)

The filterObjectoperator iterates over a list of key-value pairs in an object and applies an expression that returns only matching…

3 years ago

Working with Objects

It processes both keys and values as a tuple.

3 years ago

The reduce Function In DataWeave Mule 4

Reduce function is used to do any computation while iterating on an array, so the computation result is not lost…

3 years ago

The groupBy Function In DataWeave Mule 4

This function is useful for grouping together items in an array based on some value that is generated from each…

3 years ago

The distinctBy Function In DataWeave Mule 4

This function is useful for when you need to remove duplicate items from an Array.

3 years ago

The map Function In DataWeave Mule 4

Iterates over items in an array and outputs the results into a new array.

3 years ago

The filter Function (and Function Type Signatures) In DataWeave Mule 4

This function can be applied to an array. It iterates the array and matches the values with the expression. The…

3 years ago

Arrays (dw::core::Arrays)

DataWeave 2.0 makes it easier to define an array with a range (" to ").

3 years ago

$, $$, $$$ Syntax

For functions that DataWeave provides, you can represent the first, second, and third arguments of the passed lambda as $,…

3 years ago