Open spirit93 opened 5 years ago
@spirit93: This looks like a nice suggestion :) As Jackson is a very standard way for serialising to json I see no issues with adding this to the core of Javaflow.
I would propose this requires similar interactions between the ClassVisitor, Field and FieldDefinitionWriter classes as the implementation of the Nullable
annotation. And the JsonGetter
being the somewhat harder to add.
Feel free to create PRs for these if you have the time, It can take a while before I have, but I see to that changes are merged and released :)
For example:
Result: javaflow domain/
But want: