这是我从api返回的json字符串:
Log.d("Retureden string",json_string);
{"tag":"question_list","success":1,"error":0,"qlist":{"qid":"1","aid":"1","qtitle":"test","qexp":"what is a test","answer":"this is test","qat":"2014-11-20","ansat":"2014-11-25","uid":"54685312879542.70463773","auid":"54685312879542.70463773","level":"Bachelor","class":"Information Technology","aqid":null}}
{"tag":"question_list","success":1,"error":0,"qlist":{"qid":"2","aid":null,"qtitle":"database erro","qexp":"how can we print query from Api","answer":null,"qat":"2014-11-26","ansat":null,"uid":"54685312879542.70463773","auid":null,"level":"Bachelor","class":"Information Technology","aqid":null}}n
但是当我把它解析成像这样的json对象时
JSONObject jObject = new JSONObject(STRING_FROM_ABOVE);
Log.d("json_object",jObject);
我只得到一半的json字符串,即
{"tag":"question_list","success":1,"error":0,"qlist":{"qid":"1","aid":"1","qtitle":"test","qexp":"what is a test","answer":"this is test","qat":"2014-11-20","ansat":"2014-11-25","uid":"54685312879542.70463773","auid":"54685312879542.70463773","level":"Bachelor","class":"Information Technology","aqid":null}}
有人能告诉我为什么字符串的第二部分不存在吗?