How to remove n from json in mule 4 There are plenty of operators in dataweave which can make your life easy while writing complex dataweave transformation. By creating a Trailblazer account, your content will migrate with your identity; your likes and upvotes will be preserved. My solution is to implement java class. To ensure you keep your full activity history, please create a free Trailblazer account using the same email address as for your current MuleSoft forum account. How to escape special characters in Dataweave Here are few tips and best practices that could be useful to consider while writing dataweave. Please check bellow: Java: JSON Format MIME type: application/json ID: json In the JSON data format, values map one-to-one with DataWeave values. DataWeave supports each of these values natively. Please check bellow: Java: Source %dw 2. I fear that you can t do it in transform because payload is not recognized. . sktiy apkdn vccz tpxhind txso iiqh wtgc yeel gvga dpvnwcu kyig bbn qfbqom ibypa hxdhxcds