FasterXML / jackson-annotations

Core annotations (annotations that only depend on jackson-core) for Jackson data processor
https://github.com/FasterXML/jackson
Apache License 2.0
1.03k stars 330 forks source link

Extracting Mixin infrastructure to a general purpose library #51

Closed ittaiz closed 9 years ago

ittaiz commented 9 years ago

hi, I might be wrong here but I think that it might be interesting to have the mixin infrastructure as a general purpose library. In my company we have something that adds metadata on exceptions for client communications, monitoring and BI. This works with annotations and I think adding mixin support can be interesting. Seeing as I like this feature in Jackson I thought to try and see if you think it can be generalized.

cowtowncoder commented 9 years ago

Actually, Classmate library:

https://github.com/cowtowncoder/java-classmate

has basics of mix-in processing, in addition to type resolution. I wrote it starting with Jackson's type resolution and mix-in functionality, so in a way it is a superset.

ittaiz commented 9 years ago

looks very interesting. I'll continue searching there. Thanks!