Stability | internal |
---|---|
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
This module contain some useful orphan ToJSON
instances for pretty-printing values from third-party libraries
Synopsis
- newtype PrettyHexByteString = PrettyHexByteString ByteString
Documentation
newtype PrettyHexByteString Source #
This type holds a bytestring and has no restrictions to its contents. Its main purpose is to simplify debugging:
its ToJSON
and Show
instances convert it to base16 (hexadecimal).
Instances
ToJSON PrettyHexByteString Source # | |
Defined in Crypto.WebAuthn.Internal.ToJSONOrphans toJSON :: PrettyHexByteString -> Value # toEncoding :: PrettyHexByteString -> Encoding # toJSONList :: [PrettyHexByteString] -> Value # toEncodingList :: [PrettyHexByteString] -> Encoding # | |
Show PrettyHexByteString Source # | |
Defined in Crypto.WebAuthn.Internal.ToJSONOrphans showsPrec :: Int -> PrettyHexByteString -> ShowS # show :: PrettyHexByteString -> String # showList :: [PrettyHexByteString] -> ShowS # | |
Eq PrettyHexByteString Source # | |
Defined in Crypto.WebAuthn.Internal.ToJSONOrphans (==) :: PrettyHexByteString -> PrettyHexByteString -> Bool # (/=) :: PrettyHexByteString -> PrettyHexByteString -> Bool # |