Skip to Content

How to avoid escape character \ in a string element

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    May 08, 2017 at 08:47 PM

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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Ramakrishna,

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

      Thanks,

      Pankaj

  • May 09, 2017 at 09:52 AM

    Hi,

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

    Thanks,
    Apu

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 25, 2017 at 03:14 AM

    Hi Zhu,

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

    Thanks,

    Pankaj

    Add comment
    10|10000 characters needed characters exceeded