Im kinda new to MuleSoft and DataWeave and im trying to make a JSON Object with only not null values from another JSON object.
Let's say this is my JSON array :
{
str1 : "String 1",
str2 : "String 2",
str3 : null,
str4 : "String 4",
}
I want to make a copy of that JSON array but without str3, so result should looks like this :
{
str1 : "String 1",
str2 : "String 2",
str4 : "String 4",
}
Anyone can help me out with this ? or atleast lead me to the solutions ?
Regards