Join Slack
Powered by
<@U0926QHA6>: Kotson does infer and create the Typ...
# kotson
s
salomonbrys
10/01/2015, 4:53 PM
@apatrida
: Kotson does infer and create the TypeToken for the programmer (see
https://github.com/SalomonBrys/Kotson#parsing-json
) As for Kotlin classes that do not have a default constructor, that's an issue for Gson, and unfortunately, Gson does not supports that. You would need to register an InstanceCreator (see
https://github.com/SalomonBrys/Kotson#setting-custom-deserializers
)
Open in Slack
Previous
Next