The Java language should provide an internal serialization of its structures for debug purposes capable of handling nested objects and scalars of any type ... (something like Serializable, but meant for readability, not re-loading the result and also Objects and primitives should get it automatically without declaring it).
Neither JSON should be needed, not chaining together gets and prints.
Neither JSON should be needed, not chaining together gets and prints.
I guess one can do it with some reflection...