Hey, I have some issue with GSON. I just create da...
# android
p
Hey, I have some issue with GSON. I just create data class with @SerializedName fields. But then I have error like this
Error:(1, 1) Some error(s) occurred while processing annotations. Please see the error messages above.
My data class looks like this:
Copy code
data class TransferSearchRequest(
        @SerializedName("transferSearchRQ") val transferSearchRQ: TransferSearchRQ
)
I just find out this library https://github.com/SalomonBrys/Kotson. But is it neccessary ? There is no other solution for GSON in kotlin ?