The OpenD Programming Language

serdeIgnoreIfAggregate.serdeSerializationFinalDeepProxyMemberTypes

Serialization members final deep proxy types

Examples

static struct A {}

@serdeProxy!(A[])
static struct B {}

enum R {a, b, c}

@serdeProxy!(B[R])
static struct C {}

@serdeProxy!(B[string])
static struct E {}

static struct D
{
    C c;

    @serdeProxy!E
    int d;
}

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

Meta