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 range selector ([n to m]).
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 in the current context. These are returned as an object, containing the retrieved keys and values.
The descendants selector (..) is the perfect tool to use when you need the values for a certain key no matter where they appear in a piece of data.
The multi-value selector (.*) returns an Array containing any value that matches the key. The values returned are dependent on the key that’s passed in. The multi-value selector works on both Arrays and Objects, but in different ways.
The single-value selector (.) allows you to lookup Object values by their key.
reading data is just as important, and the features available to do so are just as robust.