New issue
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
Add toLines()
trait
#2
Comments
Hi Christian, |
Ho! 🤓 Sure, will create a PR later. Perhaps one with taking arguments for the style and indentation strings...
Return type?
|
I wonder if a String is not enough. |
see https://github.com/forax/record-util/blob/master/src/main/java/com/github/forax/recordutil/JSONTrait.java for a skeleton implementation (no recursion, etc) |
I've implemented a version that generates a human readable JSON |
Interested in adding a trait for a multi-line
toString()
variant that indents each nested component on a best-effort basis?Something similar to https://sormuras.github.io/blog/2020-05-06-records-to-text-block.html
The text was updated successfully, but these errors were encountered: