Registers a function to deserialize object of a given type.
mime_type |
the mime type which the function can deserialize from |
type |
the type of objects that the function creates |
deserialize |
the callback |
data |
data that |
notify |
destroy notify for |