cancel
Showing results for 
Search instead for 
Did you mean: 

How to avoid escape character \ in a string element

0 Kudos

Hi,all.

I used a REST adapter to convert XML data format to JSON.The interface worked fine except one problem.One element values "xxxx\nxx" in the sender system turned to "xxxx\\nxx" when the target system got it.

The target system don't agree to modify the source data received from the source system.How can i avoid the automatic ESC?

Appreciate you help.

Thanks.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Zhu,

Did you find any solution for this? I too am facing similar issue where a '\' gets added along with '/'.

Thanks,

Pankaj

apu_das2
Active Contributor
0 Kudos

Hi,

Can you use Custom XML/JSON conversion table in the receiver CC and mention the field as String there.

Thanks,
Apu

Former Member
0 Kudos

I am also facing same issue. Do you have solution in place for this.

Former Member
0 Kudos

Hi Ramakrishna,

Did you find any solution for this? I too am facing similar issue where a '\' gets added along with '/'.

Thanks,

Pankaj