Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Data.Registry.Aeson.TH.ThOptions
Synopsis
- newtype ThOptions = ThOptions {
- modifyTypeName :: Text -> Text
- defaultThOptions :: ThOptions
- dropQualifier :: Text -> Text
- qualified :: Text -> Text
- qualifyAs :: Text -> Text -> Text
- qualifyWithLastName :: Text -> Text
Documentation
Options used to adjust the creation of encoders/decoders
Constructors
ThOptions | |
Fields
|
defaultThOptions :: ThOptions Source #
Default options for adjusting the creation of Encoders/Decoders
dropQualifier :: Text -> Text Source #
Drop the leading names in a qualified name
qualifyWithLastName :: Text -> Text Source #
Keep the last name as the qualifier