contentRegisterDeserializer

fun contentRegisterDeserializer(mimeType: String, type: <Error class: unknown class>, deserialize: ContentDeserializeFunc)(source)

Registers a function to deserialize object of a given type.

Parameters

mimeType

the mime type which the function can deserialize from

type

the type of objects that the function creates

deserialize

the callback