serdeIgnoreIfAggregate.serdeFinalSerializationMemberType

Serialization member final proxy type

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

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