discomarathon / google-gson

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

Why no-arg ctor are needed for deserialization in Gson when java native serialization/deserialization doesn't need it? #313

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Why no-arg ctor are needed?
Doesn't is uses java reflection?

Thanks!

Original issue reported on code.google.com by prafull....@gmail.com on 14 Apr 2011 at 6:37

GoogleCodeExporter commented 9 years ago
If you download the latest version of Gson then you will get this behaviour.

Original comment by joel.leitch@gmail.com on 15 Apr 2011 at 1:21

GoogleCodeExporter commented 9 years ago
that's great!
thanks!

Original comment by prafull....@gmail.com on 15 Apr 2011 at 2:16