Re: [android-developers] How to parse this json
Isn’t that a JSON array of JSON arrays? Should it be no problem to parse outmost JSON array, grab instances of inner JSON arrays and use JSONArray.getString(index) to retrieve the values. Hope I am not too badly mistaken :) — H On 10 Dec 2013, at 06:53, Arun Kumar K wrote: > [ > [ > "strServiceToken", > "intVoteNowMemberID", > "intAbort", > "strInstallURL", > "strImageURL" > ], > [ > "46D2BAB0-5AA0-481D-9D0A-B37C38CC962E", > "2", > "0", > "", > "http://xxx.xxx.com/VNImages/"; > ] > ] > > -- > Regards > Arun > > > -- > 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 > --- > You received this message because you are subscribed to the Google Groups > "Android Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to android-developers+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. -- 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 --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] How to parse this json
> > How to parse this json Write a json parser. Or use an existing parsing library, like gson. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Mon, Dec 9, 2013 at 11:53 PM, Arun Kumar K wrote: > [ > [ > "strServiceToken", > "intVoteNowMemberID", > "intAbort", > "strInstallURL", > "strImageURL" > ], > [ > "46D2BAB0-5AA0-481D-9D0A-B37C38CC962E", > "2", > "0", > "", > "http://xxx.xxx.com/VNImages/"; > ] > ] > > -- > *Regards* > *Arun* > > > -- > 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 > --- > You received this message because you are subscribed to the Google Groups > "Android Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to android-developers+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > -- 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 --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] How to parse this json
[ [ "strServiceToken", "intVoteNowMemberID", "intAbort", "strInstallURL", "strImageURL" ], [ "46D2BAB0-5AA0-481D-9D0A-B37C38CC962E", "2", "0", "", "http://xxx.xxx.com/VNImages/"; ] ] -- *Regards* *Arun* -- 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 --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.