jordan-0.1.0.0: JSON with Structure
Safe HaskellSafe-Inferred
LanguageHaskell2010

Jordan.Generic.Options

Documentation

data SumTypeEncoding Source #

Constructors

TagVal 
TagInField 

Instances

Instances details
Bounded SumTypeEncoding Source # 
Instance details

Defined in Jordan.Generic.Options

Enum SumTypeEncoding Source # 
Instance details

Defined in Jordan.Generic.Options

Eq SumTypeEncoding Source # 
Instance details

Defined in Jordan.Generic.Options

Ord SumTypeEncoding Source # 
Instance details

Defined in Jordan.Generic.Options

Read SumTypeEncoding Source # 
Instance details

Defined in Jordan.Generic.Options

Show SumTypeEncoding Source # 
Instance details

Defined in Jordan.Generic.Options

Generic SumTypeEncoding Source # 
Instance details

Defined in Jordan.Generic.Options

Associated Types

type Rep SumTypeEncoding :: Type -> Type #

type Rep SumTypeEncoding Source # 
Instance details

Defined in Jordan.Generic.Options

type Rep SumTypeEncoding = D1 ('MetaData "SumTypeEncoding" "Jordan.Generic.Options" "jordan-0.1.0.0-inplace" 'False) (C1 ('MetaCons "TagVal" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TagInField" 'PrefixI 'False) (U1 :: Type -> Type))

newtype PartOfSum f a Source #

Constructors

PartOfSum 

Fields

Instances

Instances details
(GFromJSON (PartOfSum l), GFromJSON (PartOfSum r)) => GFromJSON (PartOfSum (l :+: r)) Source # 
Instance details

Defined in Jordan.FromJSON.Class

Methods

gFromJSON :: JSONParser f => FromJSONOptions -> f (PartOfSum (l :+: r) a) Source #

(GFromJSON (C1 t f), Constructor t) => GFromJSON (PartOfSum (C1 t f)) Source # 
Instance details

Defined in Jordan.FromJSON.Class

Methods

gFromJSON :: JSONParser f0 => FromJSONOptions -> f0 (PartOfSum (C1 t f) a) Source #

Constructor t => GFromJSON (PartOfSum (C1 t (U1 :: Type -> Type))) Source # 
Instance details

Defined in Jordan.FromJSON.Class

(GToJSON (PartOfSum l), GToJSON (PartOfSum r)) => GToJSON (PartOfSum (l :+: r)) Source # 
Instance details

Defined in Jordan.ToJSON.Class

Methods

gToJSON :: JSONSerializer s => ToJSONOptions -> s (PartOfSum (l :+: r) a) Source #

(Constructor t, GToJSON (C1 t f)) => GToJSON (PartOfSum (C1 t f)) Source # 
Instance details

Defined in Jordan.ToJSON.Class

Methods

gToJSON :: JSONSerializer s => ToJSONOptions -> s (PartOfSum (C1 t f) a) Source #

Constructor t => GToJSON (PartOfSum (C1 t (U1 :: Type -> Type))) Source # 
Instance details

Defined in Jordan.ToJSON.Class