Replace single backslash with double. How does it effect string that already have double backslah
Hi , I'm using the below code to escape single backslash that is present in my JSON payload json_payload.replace("\\","\\\\"); This works fine when the payload contains single backslash. eg {"name": "\xyz"} This gets converted to {"name": "\\xyz"} bu...
