The OpenD Programming Language

serdeIgnoreIfAggregate.serdeIsSerializable

Is deserializable member

Members

Variables

serdeIsSerializable
enum bool serdeIsSerializable(string member);

Examples

static struct S
{
    @serdeIgnore
    int i;

    @serdeKeys("a", "b")
    int a;
}

alias serdeIsSerializableInS = serdeIsSerializable!S;
static assert (!serdeIsSerializableInS!"i");
static assert (serdeIsSerializableInS!"a");

Meta