DataWeave Namespace

The DataWeave namespace provides classes and methods to support the invocation of DataWeave scripts from Apex.

DataWeave is the MuleSoft expression language for accessing, parsing, and transforming data that travels through a Mule application. For detailed information, see DataWeave Language.

These are the classes in the DataWeave namespace.

  • Result Class

    Contains methods to retrieve data that was transformed using Script class methods.

  • Script Class

    Contains the createScript() method to load DataWeave scripts and the execute() method to obtain script output in a DataWeave.Result object.

See Also