| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Eventful.Store.Sql.JSONString
Synopsis
- data JSONString
- jsonStringSerializer :: (ToJSON a, FromJSON a) => Serializer a JSONString
Documentation
data JSONString #
A more specific type than just ByteString for JSON data.
Instances
| Eq JSONString # | |
Defined in Eventful.Store.Sql.JSONString | |
| Show JSONString # | |
Defined in Eventful.Store.Sql.JSONString Methods showsPrec :: Int -> JSONString -> ShowS # show :: JSONString -> String # showList :: [JSONString] -> ShowS # | |
| PersistFieldSql JSONString # | |
Defined in Eventful.Store.Sql.JSONString Methods sqlType :: Proxy JSONString -> SqlType # | |
| PersistField JSONString # | |
Defined in Eventful.Store.Sql.JSONString Methods toPersistValue :: JSONString -> PersistValue # fromPersistValue :: PersistValue -> Either Text JSONString # | |
jsonStringSerializer :: (ToJSON a, FromJSON a) => Serializer a JSONString #