Hi, I want to unserialize with Gson a class with a...
# announcements
c
Hi, I want to unserialize with Gson a class with a lazy property. I get this error:
Caused by: java.lang.InstantiationException: can't instantiate class kotlin.Lazy
. With kotlin beta 2 I used to mark the property with @Transient to tell Gson to skip it. With beta 4 this is not possible anymore so I can’t figure out another way to fix this. Thanks for your help
👍 1