Special characters in JSON format are not being handled correctly in the application. When reading JSON data from the UDB that contains a special character "\n" an error occurs from the JSON parsing function:
"Unexpected token in JSON"
The JSON data received from the Gateway OData service contains the correct format, but the "\n" is replaced by a control character "0xA" when querying the UDB, and this cannot be parsed by the JSON parser.
SAP Mobile Platform (SMP) SDK 3.0 SP14
KBA , MOB-SDK , SAP Mobile SDK , Problem
About this pageThis is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).
Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.