The OpenD Programming Language

serdeIgnoreIfAggregate.serdeFinalDeserializationMemberType

Deserialization member final proxy type

Members

Aliases

serdeFinalDeserializationMemberType
alias serdeFinalDeserializationMemberType(string member) = .serdeFinalDeserializationMemberType!(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(serdeFinalDeserializationMemberType!(D, "c") == A));
static assert (is(serdeFinalDeserializationMemberType!(D, "d") == double));

Meta