cipheroidharshal / android-query

Automatically exported from code.google.com/p/android-query
0 stars 0 forks source link

Support JSONArray as callback #3

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
JSONArray don't have relation with JSONObject.

so, if I parse below contents

```json
["abc","edf"]

I could see ClassCastException in https://github.com/androidquery/androidquery/blob/master/src/com/androidquery/ca llback/AbstractAjaxCallback.java#L374

But this solution can't cover json made only 'String'.

I hope you got a better solution. This is just proposal.

Thank you great idea library!


Original issue reported on code.google.com by `tinyeeliu@gmail.com` on 27 Sep 2011 at 10:07
GoogleCodeExporter commented 8 years ago
Added support to JSONArray.

Original comment by tinyeeliu@gmail.com on 27 Sep 2011 at 10:14

GoogleCodeExporter commented 8 years ago

Original comment by tinyeeliu@gmail.com on 27 Sep 2011 at 10:15