'How to pass JSON array using JAVA component in Mule 4, as i am getting error if i pass JSON array

Cannot coerce Array { encoding: UTF-8, mediaType: application/java; charset=UTF-8, mimeType: application/java, raw: org.mule.weave.v2.model.structure.SeqArrayValue@38b1b5db, class: java.util.ArrayList } ([{I_PARTNER_ID: "CNLIGHT01" as String {class: "java.lang.String"},I_ACTION_CO...) to Object" evaluating expression: "payload


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source