I am getting the following error:
Error Domain=org.brautaset.JSON.ErrorDomain Code=3 \”Unrecognised leading character\” UserInfo=0x6a2b1a0 {NSLocalizedDescription=Unrecognised leading character}
Please tell me what this error means?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This error is returned by SBJSON when the first non-whitespace character is different from
and it means that the JSON data you’re trying to parse is not valid.1 As @Nirmal suggested, use http://jsonlint.com to validate your JSON data. For a description of what valid JSON should look like, see http://json.org and RFC 4627.
1The error also means that the first non-whitespace character is different from
+, which is not valid JSON.