So I'm building a mobile app which will be using a RESTful web service (which I am also writing myself) After lots of research I have a few questions regarding mobile apps and the HATEOAS constraint.
I usually use the Gson library for parsing objects without the HATEOAS constraint and it has been proven to be really efficent. For HATEOAS however, I am thinking of using Gson for the deserialization and Json-HAL for the response format.
How do I parse all of the _links and _embedded resources in my application without making the deserialization process tiresome? Some objects could have "embedded" resources and some don't. How should I create my data model objects to support all of these new tags? I am pretty lost on this part so I would appreciate an example.
Does anyone have any tips implementing this constraint on mobile apps?
If you think HAL or Json is not the right choice for mobile, please let me know.
Implementing this constraint for mobile seems like overkill to me.
Please enlighten me, Thanks!