I just put my objects into a List and then called toJson on that. My model has @SerializedName for each attribute.
You may want to give it a shot and see where you get stuck. On Jun 6, 2012 9:02 AM, "Heladio Benicio" <[email protected]> wrote: > Hello all, > > Someone will can to post a sample code to convert list of objects to > json (using Gson) and sending this json to WCF Rest WebService. > > > Thank you all! > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > 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 post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

