contentRegisterSerializer
fun contentRegisterSerializer(type: <Error class: unknown class>, mimeType: String, serialize: ContentSerializeFunc)(source)
Registers a function to serialize objects of a given type.
Parameters
type
the type of objects that the function can serialize
mimeType
the mime type to serialize to
serialize
the callback