------=_Part_975298_613000536.1699467728234 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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 ------=_Part_975298_613000536.1699467728234 MIME-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
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
------=_Part_975298_613000536.1699467728234--