heart-core-0.3.2: An opinionated library prelude in the UnliftIO style

Safe HaskellNone
LanguageHaskell2010

Heart.Core.Aeson

Documentation

newtype AesonNewtype n o Source #

Constructors

AesonNewtype 

Fields

Instances
(Newtype n, o ~ O n, ToJSON o) => ToJSON (AesonNewtype n o) Source # 
Instance details

Defined in Heart.Core.Aeson

(Newtype n, o ~ O n, FromJSON o) => FromJSON (AesonNewtype n o) Source # 
Instance details

Defined in Heart.Core.Aeson

HasJSONOptions (AesonNewtype n o) Source # 
Instance details

Defined in Heart.Core.Aeson

newtype AesonTag a Source #

Constructors

AesonTag 

Fields

class HasJSONOptions a where Source #

Instances
HasJSONOptions (AesonRecord a) Source # 
Instance details

Defined in Heart.Core.Aeson

HasTagPrefix a => HasJSONOptions (AesonTag a) Source # 
Instance details

Defined in Heart.Core.Aeson

HasJSONOptions (AesonNewtype n o) Source # 
Instance details

Defined in Heart.Core.Aeson

class HasTagPrefix a where Source #

Methods

getTagPrefix :: Proxy a -> Text Source #