Resource
A JSON:API resource.
Properties
Link copied to clipboard
The attributes of the resource.
Link copied to clipboard
The companion object of the resource.
Link copied to clipboard
Whether the resource is persisted.
Link copied to clipboard
The links of the resource.
Link copied to clipboard
The meta of the resource.
Link copied to clipboard
The relationships of the resource.
Functions
Link copied to clipboard
Deserialize the resource from a JSON:API response.
Link copied to clipboard
Deserialize the resource from a JSON:API response.
Link copied to clipboard
open fun toJsonApiString(from: Json = Json.Default, builder: JsonBuilder.() -> Unit = {}, onlyDirty: Boolean = false): String
Serialize the resource to a JSON:API string.