google / google/gson

Support configuration of serialization thru mix-in

Open
#451 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
24.2k
Forks
4.5k
Avg merge
6d 4h
Merged PRs (30d)
12

Description

```
It would be very nice to be able to use annotation-based configuration without
modifying the classes themselves. The only solution now is type converters,
which are much less convenient.

http://wiki.fasterxml.com/JacksonMixInAnnotations

I think being able to use a mix-in for (de)serializing a whole type hierarchy
would be a great addition and a big time-saver when dealing with "foreign"
classes.
```

Original issue reported on code.google.com by `floz...@gmail.com` on 10 Jun 2012 at 10:31

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.