zcl_mdp_json
zcl_mdp_json copied to clipboard
Escape characters not supported in JSON value
I have following JSON:
{ "resultItems": [ { "nodeId": 1, "errorCode": "ER8104", "errorMessage": "Invalid parameter \"Plugin\".", "values": [], "files": [] } ] }
In method zcl_mdp_json_deserializer->deserialize_object() exception zcx_mdp_json_invalid is raised after the regular expression is evaluated for the next time after node key "errorMessage" was parsed.
Most probably the root-cause is that the value of node "errorMessage" is not parsed correctly and then the offset is not set correctly.