serdeIgnoreIfAggregate.serdeFinalDeserializationMemberType

Deserialization member final proxy type

  1. template serdeFinalDeserializationMemberType(T, string member)
  2. template serdeFinalDeserializationMemberType(T)
    struct serdeIgnoreIfAggregate(alias pred)

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