part of the JSON String contents:
{ "aNumber":null }

o is a org.json.JSONObject below:
o.getInt("aNumber");

This results in an exception:
org.json.JSONException: JSONObject["aNumber"] is not a number.

I would guess getInt() should be returning a null. Looks like a bug to
me. What do you think?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to