| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Data.Aeson.Deriving.Text.Unsafe
Documentation
newtype TextWithPattern (regex :: Symbol) Source #
Constructors
| TextWithPattern Text |
Instances
| ToJSON (TextWithPattern regex) Source # | |
Defined in Data.Aeson.Deriving.Text.Unsafe Methods 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 Methods parseJSON :: Value -> Parser (TextWithPattern regex) # parseJSONList :: Value -> Parser [TextWithPattern regex] # | |