| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Telegram.Bot.API.Internal.Utils
Documentation
deriveJSON' :: Name -> Q [Dec] #
gtoJSON :: forall a d f. (Generic a, GToJSON Zero (Rep a), Rep a ~ D1 d f, Datatype d) => a -> Value #
gparseJSON :: forall a d f. (Generic a, GFromJSON Zero (Rep a), Rep a ~ D1 d f, Datatype d) => Value -> Parser a #
jsonOptions :: String -> Options #
snakeFieldModifier :: String -> String -> String #
camelWords :: String -> [String] #
stripCommonPrefix :: Eq a => [a] -> [a] -> [a] #
wordsToCamel :: [String] -> String #
wordsToSnake :: [String] -> String #
capitalise :: String -> String #
stripCommonPrefixWords :: String -> String -> [String] #
Minimal complete definition
Instances
| (GSomeJSON f, GSomeJSON g) => GSomeJSON (f :+: g :: k -> *) # | |
Defined in Telegram.Bot.API.Internal.Utils | |
| (ToJSON a, FromJSON a) => GSomeJSON (C1 c (S1 s (K1 i a :: k -> *)) :: k -> *) # | |
Defined in Telegram.Bot.API.Internal.Utils | |
| GSomeJSON f => GSomeJSON (D1 d f :: k -> *) # | |
Defined in Telegram.Bot.API.Internal.Utils | |