Contact Us 1-800-596-4880

DataWeave Overview

DataWeave is the programming language designed by MuleSoft for data transformation. It is also the expression language Mule runtime engine uses to configure components and connectors.

DataWeave enables you to build a simple solution for a common use case for integration developers: read and parse data from one format, transform the data, and write it out as a different format. For example, a DataWeave script can receive a CSV file as input and transform it into an array of complex JSON objects, or receive an XML input and write the data out to a flat file format. DataWeave enables developers to focus on the transformation logic instead of thinking about the specifics of reading, parsing, and writing specific data formats in a performant way.

  • To learn more about DataWeave, visit the language guide.

  • To look up reference information about DataWeave 2.3.0 operators and functions, visit the reference guide.

  • To see sample scripts to solve common transformation scenarios, visit DataWeave examples.

  • To get started with DataWeave 2.3.0 for Mule runtime engine (Mule) version 4.3 and later, visit the quickstart.

Compatibility

The following table specifies which version of DataWeave is bundled with each Mule runtime engine release:

Mule Version DataWeave Version

4.8

2.8

4.7

2.7

4.6

2.6

4.5

2.5

4.4

2.4

4.3

2.3

4.2

2.2

4.1

2.1

3.9

1.2

3.8

1.1

3.7

1.0