- deriveSerialize :: Name -> Q [Dec]
- deriveSerializeFor :: [Name] -> Q [Dec]
Documentation
deriveSerialize :: Name -> Q [Dec]Source
Derives an instance of Serialize for the provided type
Should work in most cases if the type is already and instance
of Version.
Ex: $(deriveSerialize ''Foo)
deriveSerializeFor :: [Name] -> Q [Dec]Source
Derives Serialize for a list of types