serdeIgnoreIfAggregate.serdeIsDeserializable

Is deserializable member

struct serdeIgnoreIfAggregate(alias pred)
template serdeIsDeserializable (
T
) {}

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