Deserializes MessagePack object to members using Value.
Deserializes MessagePack object to members using direct-conversion deserializer.
Member selecting version of fromMsgpack for Value.
Member selecting version of fromMsgpack for direct-converion deserializer.
Serializes members using packer.
Member selecting version of toMsgpack.
struct S { int num; string str; // http://d.puremagic.com/issues/show_bug.cgi?id = 1099 mixin MessagePackable; // all members // mixin MessagePackable!("num"); // num only }
Defines those methods manually if you treat complex data-structure.
Handy helper for creating MessagePackable object.
toMsgpack / fromMsgpack are special methods for serialization / deserialization. This template provides those methods to struct/class.