Contact Free trial Login

To Create a DataWeave Type

You can create custom DataWeave types from the header of the DataWeave script. Before you begin, note that DataWeave 2.0 is for Mule 4 apps. For a Mule 3 app, refer to the DataWeave 1.0 documentation set in the Mule 3.9 documentation. For other Mule versions, you can use the version selector for the Mule Runtime table of contents.

Transform
%dw 2.0
output application/json
type  =
---
Output
{

}

Was this article helpful?

💙 Thanks for your feedback!

Edit on GitHub