Symptom
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.
Read more...
Environment
SAP Mobile Platform (SMP) SDK 3.0 SP14
Product
SAP Mobile Platform SDK 3.0
Keywords
KBA , MOB-SDK , SAP Mobile SDK , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.