Closed danelowe closed 9 years ago
Refer,
http://jsonapi.org/format/#document-structure-top-level
https://github.com/json-api/json-api/pull/341/files#diff-26e38355b69056b0db1c2b1c612241b2R70
For legacy support, one could then put the following on their base resource class:
def self.json_key path end
Oops, totally forgot about specs on that one...
Refer,
http://jsonapi.org/format/#document-structure-top-level
https://github.com/json-api/json-api/pull/341/files#diff-26e38355b69056b0db1c2b1c612241b2R70
For legacy support, one could then put the following on their base resource class: