Gson should support null values for primitive wrapper types #68

GoogleCodeExporter opened this Issue Mar 19, 2015 · 3 comments


None yet
1 participant
See thread

Original issue reported on by inder123 on 30 Oct 2008 at 1:31

Added tests in r280 that serialize and deserialize null fields that are wrapped
primitive types (Long). The tests pass so I am closing this bug.

Original comment by inder123 on 30 Oct 2008 at 1:48

  • Changed state: Invalid
The real issue is that a custom type adapter registered for a primitive type is 
invoked. I verified the bug in a test in r281

We need to think through the use-cases of registering a custom type adapter for
primitive types before we implement this.

Original comment by inder123 on 30 Oct 2008 at 6:28

  • Changed state: Accepted
Fixed in r282 by providing support to override default type adapters for 
primitive types.

Original comment by inder123 on 31 Oct 2008 at 12:20

  • Changed state: Fixed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment