In the following Mule app flow, the Logger uses payload.^contentLength to select the length of the string my string, set…
Returns the value of specified metadata for a Mule payload, variable, or attribute.
myKey[?($ == "aValue")] returns only the values of matching keys within an array or object. Note that ? is also…
You can check for the presence of a given key. ! evaluates the selection and fails with an exception message…
Using .@ without the key name returns an object containing the attributes as key-value pairs.
If you need multiple sequential values from an Array, DataWeave allows you to select a range of values with the…
The index selector returns the element at the specified position. It can be applied over an array, object, or string.
The & selector acts on arrays and objects. & retrieves both the keys and values of all matching keys pairs…
The descendants selector (..) is the perfect tool to use when you need the values for a certain key no…