Open spdrnl opened 7 years ago
sorry @spdrnl, I wouldn't be able to justify adding a feature to support only one library.
Hi Julian, thanks for your reply!
O.k., I understand. The intention was to make it an option that could be switched on for Jackson; not to generate it always. I am still in the process to exactly figure out the necessities, there might be some apart from JsonCreator
Would it be possible to add support for @JsonCreator() in the code generation of specific records? This would allow for example to let Jackson map Json to the generated classes whilst honoring optionals.
The resulting code would look like: