View Source JSONAPIPlug.Document.ResourceIdentifierObject (jsonapi_plug v2.0.0)

JSON:API Resource Identifier object

https://jsonapi.org/format/#document-resource-object-linkage

Summary

Types

@type t() :: %JSONAPIPlug.Document.ResourceIdentifierObject{
  id: JSONAPIPlug.Document.ResourceObject.id() | nil,
  lid: JSONAPIPlug.Document.ResourceObject.id() | nil,
  meta: JSONAPIPlug.Document.meta() | nil,
  type: JSONAPIPlug.Document.ResourceObject.type()
}

Functions

@spec deserialize(JSONAPIPlug.Document.payload()) :: t() | no_return()