Open sliverc opened 7 years ago
IMO json is simple enough, we should avoid dependencies.
Using a json api does does seem to make sense, plain json is simple, json-api has some additional rules/sugar that do make sense to be wrapped in something higher-level-ish.
just to clarify the standard we use is not just simple json but http://jsonapi.org/
Ok, got it. So my dependency paranoia is reduced to: are these libraries well maintained?
Both libraries are fairly young (less than 1 year) but had regular releases and 2-3 contributors. I also think once the standard is implemented in such libraries changes will be down to bugfixes so not that critical.
Instead of writing a json api client I think it would be more convenient to use a jsonapi client library.
https://github.com/qvantel/jsonapi-client looks fairly promising or maybe also https://github.com/socialwifi/jsonapi-requests/