calamity-0.1.31.0: A library for writing discord bots in haskell
Safe HaskellNone
LanguageHaskell2010

Calamity.Internal.AesonThings

Synopsis

Documentation

newtype WithSpecialCases (rules :: [Type]) a Source #

Constructors

WithSpecialCases a 

Instances

Instances details
(RunSpecialCase rules, Typeable a, Generic a, GFromJSON Zero (Rep a)) => FromJSON (WithSpecialCases rules a) Source # 
Instance details

Defined in Calamity.Internal.AesonThings

data IfNoneThen label def Source #

type ExtractFieldFrom label field = ExtractFieldInto label field label Source #

data ExtractFieldInto label field target Source #

data ExtractFields label fields Source #

data ExtractArrayField label field Source #

data DefaultToEmptyArray Source #

Instances

Instances details
Reifies DefaultToEmptyArray Value Source # 
Instance details

Defined in Calamity.Internal.AesonThings

Methods

reflect :: proxy DefaultToEmptyArray -> Value #

data DefaultToZero Source #

Instances

Instances details
Reifies DefaultToZero Value Source # 
Instance details

Defined in Calamity.Internal.AesonThings

Methods

reflect :: proxy DefaultToZero -> Value #

data DefaultToFalse Source #

Instances

Instances details
Reifies DefaultToFalse Value Source # 
Instance details

Defined in Calamity.Internal.AesonThings

Methods

reflect :: proxy DefaultToFalse -> Value #

data DefaultToTrue Source #

Instances

Instances details
Reifies DefaultToTrue Value Source # 
Instance details

Defined in Calamity.Internal.AesonThings

Methods

reflect :: proxy DefaultToTrue -> Value #