asolfre / google-gson

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

deserializing abstract class which is member of another class #447

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

I need to know how we can deserialize an object which contains a list of type 
abstract class as an attribute using gson

code eg:

class A{
List<B> list;
}

public abstract class B{
}

Original issue reported on code.google.com by chinju18...@gmail.com on 24 May 2012 at 8:37

GoogleCodeExporter commented 9 years ago

Original comment by limpbizkit on 30 Jun 2012 at 3:09