happstack-data-6.0.1: Happstack data manipulation libraries

Safe HaskellNone

Happstack.Data.SerializeTH

Synopsis

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