kamikat / moshi-jsonapi

JSON API v1.0 Specification in Moshi.
MIT License
156 stars 35 forks source link

How to get Meta if there is no data retrieved #84

Closed heliobmartins closed 4 years ago

heliobmartins commented 5 years ago

Hi,

Is there any way to get the meta value if a JSON is returned like that:

{ "data": [], "links": { "self": "http://foo.example.com" }, "meta": { "total-objects": 5, "deleted-ids": [] } }

Thanks

sterien7 commented 1 year ago

@heliomartins is it possible? how?