The OpenD Programming Language

serdeIgnoreIfAggregate.serdeFinalSerializationMemberType

Serialization member final proxy type

Examples

static struct A
{

}

@serdeProxy!A
static struct B {}

@serdeProxy!B
static struct C {}


@serdeProxy!double
struct E {}

struct D
{
    C c;

    @serdeProxy!E
    int d;
}

static assert (is(serdeFinalSerializationMemberType!(D, "c") == A), serdeFinalSerializationMemberType!(D, "c"));
static assert (is(serdeFinalSerializationMemberType!(D, "d") == double));

Meta