Store Java objects into JSON or any format you want! SerialX is a powerful lightweight utility library to serialize Java objects programmatically via tweakable recursive descent parser for custom domain-specific languages!
Why do you think that https://github.com/lukas-krecan/JsonUnit is a good alternative to Java-SerialX