The OpenD Programming Language

serdeIgnoreIfAggregate.serdeFinalSerializationMemberType

Serialization member final proxy type

Members

Aliases

serdeFinalSerializationMemberType
alias serdeFinalSerializationMemberType(string member) = .serdeFinalSerializationMemberType!(T, member)

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