clazz deepclone = new DeepClone().do(object_to_be_copied); JEP 198: Light-Weight JSON API
Birke Heeren
info at birkeheeren.de
Wed Nov 8 18:22:08 UTC 2023
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/core-libs-dev/attachments/20231108/fecbadab/attachment.htm>
More information about the core-libs-dev
mailing list