DeserializeRegisterWrapper

This class wraps registered functions for deserialization.

Constructors

this
this(void delegate(ref T, Serializer, Serializer.Data) dg)

Creates a new instance of this class with the given delegate that performs the custom deserialization.

this
this(void function(ref T, Serializer, Serializer.Data) func)

Creates a new instance of this class with the given function that performs the custom serialization.

Members

Functions

opCall
void opCall(T value, Serializer serializer, Serializer.Data key)

Calls the function to perform the custom deserialization.

Parameters

T

the type of the class or struct which is deserialized

Meta