registry-aeson-0.3.0.0: Aeson encoders / decoders
Safe HaskellSafe-Inferred
LanguageGHC2021

Data.Registry.Aeson.TH.ThOptions

Synopsis

Documentation

newtype ThOptions Source #

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

qualified :: Text -> Text Source #

This function does not modify type names

qualifyAs :: Text -> Text -> Text Source #

Provide a specific qualifier to produce type names

qualifyWithLastName :: Text -> Text Source #

Keep the last name as the qualifier