i'm developing android (2.2) application in web service string containing json serialized version of list of custom objects, results in jsonarray string of jsonobject. received string formed, can see @ eyesight , can prove online validator. @ 1 point in android application, pass string jsonarray constructor, array of jsonobject. here's problem: jsonarray constructor throws exception, stating @ point string ends invalid terminator: point indicated in exception far real end of string. fact string in question huge (about 160000 chars): know if there's limit length of string when passed jsonarray constructor? string variable held in memory full-length, seems me jsonarray constructor kindof truncates it. possible?
thanks in advance, regards
try removing spaces @ end of string if , parse again. use trim() on string , check once.
Comments
Post a Comment