The OpenD Programming Language

serdeIgnoreIfAggregate.serdeDeserializationFinalProxyMemberTypes

Deserialization members final proxy types

Examples

static struct A {}

@serdeProxy!A
static struct B {}

@serdeProxy!B
static struct C {}

@serdeProxy!B
static struct E {}

static struct D
{
    C c;

    @serdeProxy!E
    int d;
}

import std.meta: AliasSeq;
static assert (is(serdeDeserializationFinalProxyMemberTypes!D == AliasSeq!A));

Meta