Skip to content

Support jsonapi standards, as seen on jsonapi.org #394

Description

@utf4

I was looking for JsonApi.org request and response format support in all of four actions (CRUD) while using restmod. I am seeing that "relationships" tag in json is not handled by response decoder and is placed as it is in resource object.

{
  "data": {
    "type": "articles",
    "id": "1",
    "attributes": {
    },
    "relationships": {
      // ... this is not being handled properly and left as it is in response
    }
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions