Closed mkonkel closed 5 years ago
The spec states fields shouldn't be named id
or type
. If possible, you might consider different variables names.
That's true - but unfortunately, I can't change the API.
I've switched from Kotlin data classes to Java models.
And I wrote a custom converter on 'CharSequencefor a field named
type` -it's a poor workaround but it works.
Hi!
I am unable to parse any response that contains a custom field named "type'"
example:
personType is allways 'null' any solution for that?