The OpenD Programming Language

serdeIgnoreIfAggregate.serdeIsDeserializable

Is deserializable member

Members

Variables

serdeIsDeserializable
enum bool serdeIsDeserializable(string member);

Examples

static struct S
{
    @serdeIgnore
    int i;

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

alias serdeIsDeserializableInS = serdeIsDeserializable!S;
static assert (!serdeIsDeserializableInS!"i");
static assert (serdeIsDeserializableInS!"a");

Meta