serdeIgnoreIfAggregate.serdeDeserializationFinalProxyMemberTypesRecurse

Deserialization members final proxy types (recursive)

struct serdeIgnoreIfAggregate(alias pred)
alias serdeDeserializationFinalProxyMemberTypesRecurse(T) = serdeDeserializationFinalProxyMemberTypesRecurseImpl!(serdeGetFinalProxy!T)

Examples

static struct A { double g; }

@serdeProxy!A
static struct B {}

@serdeProxy!B
static struct C {}

@serdeProxy!B
static struct E {}

static struct D
{
    C c;

    @serdeProxy!E
    int d;
}

@serdeProxy!D
static struct F {}

import std.meta: AliasSeq;
static assert (is(serdeDeserializationFinalProxyMemberTypesRecurse!F == AliasSeq!(D, A, double)));

Meta