Hi openjdk,
 
I want to support

JEP 198: Light-Weight JSON API

with an idea:
 
clazz deepclone = new DeepClone().do(object_to_be_copied);
 
class DeepClone
clazz do (clazz object_to_be_copied)
{
     return new JSONDecoder().do(new JsonEncoder().do(object_to_be_copied));
}
 
With kind regards,
Birke Heeren

Reply via email to