Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
Already on GitHub?
to your account
Would it be possible to generate two extra methods on the data beans, a constructor method, and a tostring method for convenience?
The text was updated successfully, but these errors were encountered:
Could you give an example what the toString() implementation could look like?
return "mypropertyname1: " + mypropertyvalue1 + "\n" +
"mypropertynamex: " + mypropertyvaluex;
#39 : added toString and full constructor support for BeanSerializer
I added support via the setAddToString and setAddFullConstructor switches. The implementations are protected, so overridable.
Released in 2.2.5
Successfully merging a pull request may close this issue.