2

{"response":{"message":"#[json:/offers[0]/offerHTML"}}

This is the actual response at runtime:

{"response":{"message:""

Is there way to escape the JSON response in mule?

sam
  • 97
  • 1
  • 10

1 Answers1

0

Depends on how you are building that payload. But if you are just using strings you can use String.valueOf so that it does not evaluate the MEL expression:

#[String.valueOf('#[json:/offers[0]/offerHTML]')]
Ryan Carter
  • 11,441
  • 2
  • 20
  • 27