Okay, API i’m working with will send JSON response...
# announcements
s
Okay, API i’m working with will send JSON response with
0
and
1
to represent boolean. The GSON objects I created therefore use
Int
as the type, but would like to abstract it out so that users of the object can use
isVisible
as a
Boolean
instead of
Int
, what suggestions are there to do this?