shau-lok / google-gson

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

@Expose should be used with methods #285

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Can we use @Expose with method declaration like:

@Expose
public List<SomeObject> getFilteredList(){
...
}

and in result includes json of SomeObject list.

Original issue reported on code.google.com by das...@gmail.com on 3 Feb 2011 at 8:29

GoogleCodeExporter commented 9 years ago

Original comment by limpbizkit on 29 Dec 2011 at 5:52