json - How to deal with version issues in android 1.6 to 2.x -


i built json consumer in android 1.6 (thought practice build on oldest version max support). able retrieve json under 1.5-1.6. threw app on droid (2.x) , receive "org.json.jsonexception: expected literal value @ character ....". why difference in versions? how can deal this?

if can't working library, try gson great

http://code.google.com/p/google-gson/


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -