deserialize

Deserializes a JSON:API response into a Resource object.

Return

The deserialized Resource object.

Parameters

jsonApiData

The JSON:API data to deserialize.

included

The included resources.


Deserializes a JSON:API response into a Resource object.

Return

The deserialized Resource object.

Parameters

jsonApiResponse

The JSON:API response to deserialize.


fun deserialize(jsonApiResource: JsonApiResource): Resource(source)

Deserializes a JSON:API resource into a Resource object.

Return

The deserialized Resource object.

Parameters

jsonApiResource

The JSON:API resource to deserialize.