Safe Haskell | None |
---|---|
Language | Haskell2010 |
Internal module exposing the guts of the package. Use at your own risk. No API stability guarantees apply.
Also exports orphan instances of PersistField{,Sql} SessionId
.
Synopsis
- newtype ByteStringJ = B {
- unB :: ByteString
Documentation
newtype ByteStringJ Source #
Newtype of a ByteString
with JSON support via base64url.
B | |
|
Instances
Orphan instances
SessionId
instancePersistField
(SessionId
sess) instancePersistFieldSql
(SessionId
sess)
Does not do sanity checks (DB is trusted).
instancePersistField
SessionMap
instancePersistFieldSql
SessionMap
instanceSerialize
SessionMap
instanceFromJSON
SessionMap
instanceToJSON
SessionMap
Orphan instances
ToJSON SessionMap Source # | |
toJSON :: SessionMap -> Value # toEncoding :: SessionMap -> Encoding # toJSONList :: [SessionMap] -> Value # toEncodingList :: [SessionMap] -> Encoding # | |
FromJSON SessionMap Source # | |
parseJSON :: Value -> Parser SessionMap # parseJSONList :: Value -> Parser [SessionMap] # | |
Serialize SessionMap Source # | |
put :: Putter SessionMap # get :: Get SessionMap # | |
PersistFieldSql SessionMap Source # | |
sqlType :: Proxy SessionMap -> SqlType # | |
PersistField SessionMap Source # | |
PersistFieldSql (SessionId sess) Source # | |
PersistField (SessionId sess) Source # | |
toPersistValue :: SessionId sess -> PersistValue # fromPersistValue :: PersistValue -> Either Text (SessionId sess) # |