How to Whitelist class in version 13

(Jinsy Abey) #1

I am getting below error while doing some transaction for Date class,
Class java.util.Date is not annotated or on the whitelist, so cannot be used in serialization

In version 11 we can whitelist the classes using override method customizeSerialization() of CordaPluginRegistry class
Is there any way to whitelist Date class in Version 13?