https://kotlinlang.org logo
l

Lulu

12/13/2018, 11:04 AM
Is it possible to serialize a field that can be either boolean or Double? (No it's not my API, I wouldn't have designed it that way)
s

sandwwraith

12/13/2018, 1:52 PM
You can make a custom serializer for that type and use this type as a type of field
l

Lulu

12/13/2018, 2:28 PM
Gotcha
6 Views