Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- newtype Base64ByteString = Base64ByteString ByteString
- newtype Base64Word64 = Base64Word64 Word64
- newtype StrWord64 = StrWord64 Word64
Documentation
newtype Base64ByteString Source #
ByteString which serializes to JSON as base64 string.
Instances
newtype Base64Word64 Source #
Word64 which serializes to JSON as base64 string. Useful because 64-bit integer is not representable in javascript.
Instances
Word64 which serializes to JSON as decimal string. Useful because 64-bit integer is not representable in javascript.
Instances
Eq StrWord64 Source # | |
Num StrWord64 Source # | |
Defined in BattlePlace.WebApi.Types.Util | |
Ord StrWord64 Source # | |
Defined in BattlePlace.WebApi.Types.Util | |
Read StrWord64 Source # | |
Show StrWord64 Source # | |
Hashable StrWord64 Source # | |
Defined in BattlePlace.WebApi.Types.Util | |
ToJSON StrWord64 Source # | |
Defined in BattlePlace.WebApi.Types.Util | |
FromJSON StrWord64 Source # | |
Storable StrWord64 Source # | |
Defined in BattlePlace.WebApi.Types.Util | |
Serialize StrWord64 Source # | |
FromHttpApiData StrWord64 Source # | |
Defined in BattlePlace.WebApi.Types.Util parseUrlPiece :: Text -> Either Text StrWord64 # parseHeader :: ByteString -> Either Text StrWord64 # | |
ToSchema StrWord64 Source # | |
Defined in BattlePlace.WebApi.Types.Util |