Descendants Selector (..)
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.
November 21, 2021 | Dataweave, Mule 4, Mulesoft | No comments
Keep Coding Keep Cheering!
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.
November 21, 2021 | Dataweave, Mule 4, Mulesoft | No comments
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.
November 21, 2021 | Dataweave, Mule 4, Mulesoft | No comments
The single-value selector (.) allows you to lookup Object values by their key.
November 21, 2021 | Dataweave, Mule 4, Mulesoft | No comments
reading data is just as important, and the features available to do so are just as robust.
November 21, 2021 | Dataweave, Mule 4, Mulesoft | No comments
As you’d expect, the last two are actually composite types, their contents also have type definitions:
November 20, 2021 | Dataweave, Mule 4, Mulesoft | No comments
Notice in the script that there are three lines, a line with three dashes, then one more line. The first three lines of the script contain directives. The first directive, which is in every DataWeave file, defines which version the script is using.
November 19, 2021 | Dataweave, Mule 4, Mulesoft | No comments
The Text Java Properties format parses any Java properties file. This format represents simple key-value pairs. DataWeave represents these pairs as an object with string values.
November 18, 2021 | Dataweave, Mule 4, Mulesoft | No comments
The simplest way to store information in computer memory is as a single file with a plain text format.
November 18, 2021 | Dataweave, Mule 4, Mulesoft | No comments
DataWeave supports Multipart subtypes, in particular form-data. These formats enable you to handle several different data parts in a single payload, regardless of the format each part has to distinguish the beginning and end of a part, a boundary is used and metadata for each part can be added through headers.
November 18, 2021 | Dataweave, Mule 4, Mulesoft | No comments
YAML is a data serialization language that is often used for writing configuration files. Depending on whom you ask, YAML stands for yet another markup language or YAML ain’t markup language (a recursive acronym), which emphasizes that YAML is for data, not documents.
November 18, 2021 | Dataweave, Mule 4, Mulesoft | No comments