mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-23 14:29:31 +00:00
According to http://jsonapi.org/format/#document-structure-resource-objects, > Resource objects have the same internal structure, regardless of > whether they represent primary or linked resources. And then http://jsonapi.org/format/#document-structure-resource-object-attributes, > There are four reserved keys in resource objects: > > "id" > "type" > "href" > "links" This commits includes `links` inside of linked resources. |
||
|---|---|---|
| .. | ||
| json | ||
| json_api | ||
| json_test.rb | ||
| null_test.rb | ||