infinum / kotlin-jsonapix

JsonApiX is an Android, annotation processor library that was made to transform regular Kotlin classes into their JSON API representations, with the ability to serialize or deserialize them to or from strings.
Apache License 2.0
38 stars 9 forks source link

Feature/#725 modify type adapter factory spec builder #15

Closed gobbletsit closed 2 years ago

gobbletsit commented 2 years ago

https://app.productive.io/1-infinum/tasks/2547892

This PR contains changes made to simplify getTypeAdapter() usage for non retrofit users with passing either Class<*> or full ParameterizedType in case of lists.