DataWeave Interview Question: Find Unique Names From the Input
A quick tutorial article that shows you the code you need to better work with Dataweave and Mulesoft, focusing on a common interview question.
Join the DZone community and get the full member experience.Join For Free
This article will help you practice your DataWeave skills in MuleSoft. Here we will find unique names from our Input. Let's get started.
Let's talk about the solution now. We are going to achieve this in multiple steps as follows:
Step 1 Output:
In order to get output like this, we will use below code:
Step 2 will have the final output. We will use the below code to achieve the same.
Hope this helps improve your DataWeave skills. Thanks!
Opinions expressed by DZone contributors are their own.