GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
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? Sign in 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?
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