Dataweave is a Mule component that can transform data between any formats like JSON to XML. It uses a JSON-like scripting language and was introduced in Mule 3.7 as a replacement for the deprecated datamapper component. Dataweave retains the drag and drop features of datamapper but coding the transformation manually has no difference. An example shows how a JSON data can be transformed to XML using a Dataweave script, generating the output XML.