Ok, but the OP has to know that doing this often can be a serious issue.
For example if you are implementing an endpoint that can be called 10/100
times per hour, each call will result in a few humongous objects allocated
in the JVM.

Reply via email to