readUrl Example in DataWeave
readUrl Example
February 5, 2022 | Dataweave | No comments
Keep Coding Keep Cheering!
ThereadUrlfunction is similar to the read function, but it accepts URL as an input and the remaining parameters remain the same as the read function.
February 5, 2022 | Dataweave | No comments
Reads a string or binary and returns parsed content.
This function can be useful if the reader cannot determine the content type by default.
February 5, 2022 | Dataweave | No comments
Helper function that enables splitBy to work with a null value.
Splits a string into a string array based on a value of input or matches part of that input string. It filters out the matching part from the returned array.
With the help of flatten function multiple arrays are bounded together as single array.
Use selector expressions with the update operator to specify the fields to update.
December 12, 2021 | Dataweave, Mule 4, Mulesoft | No comments
Update Operator Examples
December 12, 2021 | Dataweave, Mule 4, Mulesoft | No comments
This operator is the one to use when you wish to change specific fields on an Object, while keeping all others the same.
December 12, 2021 | Dataweave, Mule 4, Mulesoft | No comments
The pluck operator is useful for mapping the object into the array, and it returns the array of values, keys, and indexes of the object.
December 2, 2021 | Dataweave, Mule 4, Mulesoft | No comments