<@UDAFKA7NY> So I was also having problems getting...
# serialization
m
@serebit So I was also having problems getting polymorphic deserialization to work, using Moshi. I switched to Klaxon and got it working without too much trouble. Just something to consider if you still didn't get it working.
s
I did get it to work, actually. The issue was that the remote API sends a
type
field in JSON with an integer specifying the type of object, which made for some pretty ambiguous error messages! Thankfully the
SerialName
annotation exists, which quickly put an end to that problem.