SerializeRegisterWrapper

This class wraps registered functions for serialization.

Constructors

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

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

this
this(void function(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 serialization.

Parameters

T

the type of the class or struct which is serialized

Meta