Forum Discussion

srini_polimera's avatar
srini_polimera
New Contributor III
3 years ago

Remove backslash in json response

Hello,
I need help to remove backslashes from json SOAP response below.
[{"id":"500001130581","workType":"test","total":7.000}]
I tried replace function, but it is not working, Can someone help?

-Thanks

3 Replies

    • moumita119's avatar
      moumita119
      New Contributor

      Can you share how you replace backslash ?

      • srini_polimera's avatar
        srini_polimera
        New Contributor III

        If your json input is x and JSON.parse() will help to remove backslashes.

        Mapper - Mapping table