I am implementing a JSON API to be used by the Ember-Data REST Adapter.
The Ember-Data REST Adapter needs the JSON returned to follow this format:
http://jsonapi.org/format/
Ember-Data documentation:
http://emberjs.com/guides/models/the-rest-adapter/#toc_json-conventions
I know how to return JSON, say, using Spring MVC 3.2 / Jackson, that's not a problem. However, the JSON format must adhere to the format specified at jsonapi.org.
You can find a sample Django implementation if you google "ember data tastypie adapter" (sorry, not enough reputation points for a link [sic]), and rable also seems to have one.
Seems like jsonapi.org is a much referred to standard for several frameworks / languages.
Do I really need to implement this standard in Java myself?
Any help / pointers would be greatly appreciated.
Many thanks!