Open di0n0s opened 4 years ago
Hey @di0n0s I think this is a duplicate of https://github.com/kamikat/moshi-jsonapi/issues/71
I ran in to the same problem and found yours and the above issue. Basically, the answer is to do as described here: https://github.com/kamikat/moshi-jsonapi#default-resource-type
Hi,
I receive this JSON:
And I have this resource:
When I'm trying to parse that JSON I got this exception: "com.squareup.moshi.JsonDataException: Unknown type of resource: place_address"
Why I'm getting this exception if I'm not parsing the relationship? Is mandatory to parse every field of the JSON? I hope not.
Thanks in advance.