How to convert an Array into Object?

Step 1: Add the transform Message Component in the mule flow from component palette. Step 2:   In this component we can write the Dataweave script to convert array into object. …