Breaking News
Home / ServerSide / What the common type of error while Parsing JSON?

What the common type of error while Parsing JSON?

The following are the common types of errors we see while parsing JSON data.

Error Domain=org.brautaset.JSON.ErrorDomain Code=3 UserInfo=0x12602a0 “Expected value while parsing array”,
Error Domain=org.brautaset.JSON.ErrorDomain Code=3 UserInfo=0×1260320 “Object value expected for key: results”,

Error Domain=org.brautaset.JSON.ErrorDomain Code=5 UserInfo=0x125fe30 “Unescaped control character ’0×0′”,
Error Domain=org.brautaset.JSON.ErrorDomain Code=3 UserInfo=0×1260200 “Object key string expected”,

 Error trace is: (
    “Error Domain=org.brautaset.JSON.ErrorDomain Code=11 “End of input while parsing array” UserInfo=0x5dc7480 {NSLocalizedDescription=End of input while parsing array}

Each error code is unique and occurs for a different reason. The parse normally provides the reason for the error as well as indication as where the error is in the JSON data.

[pb_builder]

Check Also

What webservices standards are supported by Siebel Business Applications?

The following Web services standards are supported by Siebel Business Applications:     * Web Services …

Advertisment ad adsense adlogger