jsonschema2pojo
jsonschema2pojo copied to clipboard
Deep cloning option
Could we get the option within the generation to have this tool generate a POJO that is able to implement the clone method and to make deep copies of it's self?
Thanks for raising this @monksy, it sounds like a very useful addition. There's probably quite a bit of work here, but no blockers that I can think of. The clone
methods should be able to simply enumerate all private fields and either clone them (in the case of an object) or set them directly (in the case of a primitive).
Is this still on the roadmap for jsonschema2pojo?
Is copy constructor functionality still on roadmap for jsonschema2pojo?