Hi,

I was wondering if it is possible to have vibe.d (de)serialize custom types that cannot be reasonable extended by providing toRepresentation/fromRepresentation, e.g. UUID struct from std.uuid.

After checking the isCustomSerializable trait, I tried to use this code:

string toRepresentation(UUID id) { return id.toString(); }
static UUID fromRepresentation (string id) { return parseUUID(id); }

But it is apparently not working. So, my question is - what should I do?

Thanks,
Martin