struct / contracts-serialize
This package is abandoned and no longer maintained.
The author suggests using the struct/contracts package instead.
Simple package for providing contracts for serialization and deserialization of structs