I can not parse json format in object C when i use SBJson json class. Follow format:
{ls:{
lnk:"http:\/\/vn.com\/vn",
set:[
{n:"ABC",id:10},
{n:"ABC",id:11},
]
}}
How to parse this format with SBJson OR anyway.
Thanks!
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.
First, strings must be between quotes. The second error is that there’s a comma after the second element of the set. Here’s the corrected JSON (you can use a validator to be sure):