mule - Escape character in DataWeave string -


we getting value db contains backslash (\). after going through dataweave, 2 backslashes. here how looks:

enter image description here

how can have 1 backslash in end? can use replace function somehow? tried , not make work.

i believe reason why see 2 backslashes because backslash reserved character (see json spec) therefore dataweave automatically escaping backslash, necessary not have db value corrupted.

in opinion double backslash not problem. should right content upon consuming json object.


Comments