cancel
Showing results for 
Search instead for 
Did you mean: 

REST Adapter XML to JSON conversion adding escape character '\' to string containing charater '/'

Former Member

Hello gurus,

The receiver REST adapter adds up an escape character to the string after converting the xml data to JSON format. I also tried providing the value as string in the 'custom XML\JSON Conversion Rules table'. But the character is still getting added up. Could you please help.

string in XML: application/vnd.abc.remision_5.2+xml

string after conversion to JSON: application\/vnd.abc.remision_5.2+xml

Thanks,

Pankaj

former_member223432
Participant
0 Kudos

HI, Could you please let me know how you fixed this issue?

Regards

Smith

View Entire Topic
Former Member
0 Kudos

is it creating any errors ? if not, use mapping functions to remove it.

Best,

Vibhu

JaySchwendemann
Active Contributor
0 Kudos

The escape character will be inserted within the module of the REST adapter. Mapping comes probably a little late to the party. Some string-replace-bean migth do the trick though

taranpreet85
Explorer
0 Kudos
Any news on this, I am getting same issue in SAP PO7.5