Nav

To Create a DataWeave Type

You can create custom DataWeave types from the header of the DataWeave script.

Transform

       
    
1
2
3
4
%dw 2.0
output application/json
type  =
---
Output

       
    
1
2
3
{

}