Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
newtype TextWithPattern (regex :: Symbol) Source #
Instances
ToJSON (TextWithPattern regex) Source # | |
Defined in Data.Aeson.Deriving.Text.Unsafe toJSON :: TextWithPattern regex -> Value # toEncoding :: TextWithPattern regex -> Encoding # toJSONList :: [TextWithPattern regex] -> Value # toEncodingList :: [TextWithPattern regex] -> Encoding # | |
KnownSymbol regex => FromJSON (TextWithPattern regex) Source # | |
Defined in Data.Aeson.Deriving.Text.Unsafe parseJSON :: Value -> Parser (TextWithPattern regex) # parseJSONList :: Value -> Parser [TextWithPattern regex] # |