json_api_document library

Classes

Document<Data extends PrimaryData>
Identifier
Resource identifier [...]
IdentifierObject
IdentifierObject is a JSON representation of the Identifier. It carries all JSON-related logic and the Meta-data.
JsonApi
Details: https://jsonapi.org/format/#document-jsonapi-object
JsonApiError
JsonApiError represents an error occurred on the server. [...]
A JSON:API link https://jsonapi.org/format/#document-links
LinkObject
A JSON:API link object https://jsonapi.org/format/#document-links
Pagination
PrimaryData
The top-level Primary Data. This is the essentials of the JSON:API Document. [...]
Relationship
The Relationship represents the references between the resources. [...]
Resource
Resource [...]
ResourceCollectionData
Represents a resource collection or a collection of related resources of a to-many relationship
ResourceData
Represents a single resource or a single related resource of a to-one relationship\\\\
ResourceObject
ResourceObject is a JSON representation of a Resource. [...]
ToMany
Relationship to-many
ToOne
Relationship to-one