I think the answer is "it depends". I am all for supporting alternative configuration means, given that while annotations are great for some use cases, they are less optimal for many others. This is why we keep on adding some amount of non-annotation configurability: Jackson 2.8 specifically adds per-type defaulting, to allow specifying information equivalent to `@JsonFormat`, `@JsonInclude` (and some other annotation types) to be used for given types, but configured via ObjectMapper.
But there are unlimited number of ways one can choose to extend functionality, and some fit better with the way Jackson has been designed, others less well. So it would make sense to discuss these things; perhaps you could try summarize things you have done, show snippets of code of how functionality is used or such? -+ Tatu +- On Thu, Jun 23, 2016 at 4:35 AM, Georg Eutermoser < [email protected]> wrote: > Hello, > > I already wrote a comment in the jackson user group and was forwarded to > this group. I hope, this is the right way now to address with my concerns. > > I was looking for a solution, that is able to serialize arbitrary java > objects to json with only using a minimum of annotations. Jackson can > handle many of these problems, but needs a lot of annotations to do this. > So I decided to extend jackson with own code, so that it fulfills my > requirements. > I could imagine, that other people using json also have similar problems. > So I wonder, if you are interested in also including such features into the > official version of jackson? > > At the moment, I created only some own (de)serializers and did not yet > include these changes into jackson. But I am pretty sure, that this is > possible. > > Best regards, Georg > > -- > You received this message because you are subscribed to the Google Groups > "jackson-dev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "jackson-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
