Redefine this method in subclasses to return custom Nit objects from an application specific extension.
This method is invoked before dealing with the extensions used by the
Nit serialization metadata [0x40..0x43]. In general, you should ignore
them by returning null
, but they can also be intercepted to comply to
a format from a remote server.
# Hook to customize the deserialization of MessagePack extensions
#
# Redefine this method in subclasses to return custom Nit objects from
# an application specific extension.
#
# This method is invoked before dealing with the extensions used by the
# Nit serialization metadata [0x40..0x43]. In general, you should ignore
# them by returning `null`, but they can also be intercepted to comply to
# a format from a remote server.
protected fun deserialize_ext(ext: MsgPackExt, static_type: nullable String): nullable Object
do
return null
end
lib/msgpack/serialization_read.nit:321,2--333,4