json-rpc-generic-0.2.1.6: Generic encoder and decode for JSON-RPC
Safe HaskellNone
LanguageHaskell2010

Data.JsonRpc.Generic

Documentation

class GFromArrayJSON f Source #

Minimal complete definition

gFromArrayJSON

Instances

Instances details
GFromArrayJSON (U1 :: Type -> Type) Source # 
Instance details

Defined in Data.JsonRpc.Generic

FromJSON a => GFromArrayJSON (K1 i a :: Type -> Type) Source # 
Instance details

Defined in Data.JsonRpc.Generic

Methods

gFromArrayJSON :: StateT [Value] Parser (K1 i a a0)

(GFromArrayJSON a, GFromArrayJSON b) => GFromArrayJSON (a :*: b) Source # 
Instance details

Defined in Data.JsonRpc.Generic

Methods

gFromArrayJSON :: StateT [Value] Parser ((a :*: b) a0)

GFromArrayJSON a => GFromArrayJSON (M1 i c a) Source # 
Instance details

Defined in Data.JsonRpc.Generic

Methods

gFromArrayJSON :: StateT [Value] Parser (M1 i c a a0)

class GFieldSetJSON f Source #

Minimal complete definition

gFieldSet

Instances

Instances details
GFieldSetJSON (U1 :: Type -> Type) Source # 
Instance details

Defined in Data.JsonRpc.Generic

Methods

gFieldSet :: FieldsW (U1 a)

GFieldSetJSON (K1 i a :: Type -> Type) Source # 
Instance details

Defined in Data.JsonRpc.Generic

Methods

gFieldSet :: FieldsW (K1 i a a0)

(GFieldSetJSON a, GFieldSetJSON b) => GFieldSetJSON (a :*: b) Source # 
Instance details

Defined in Data.JsonRpc.Generic

Methods

gFieldSet :: FieldsW ((a :*: b) a0)

GFieldSetJSON a => GFieldSetJSON (D1 c a) Source # 
Instance details

Defined in Data.JsonRpc.Generic

Methods

gFieldSet :: FieldsW (D1 c a a0)

GFieldSetJSON a => GFieldSetJSON (C1 c a) Source # 
Instance details

Defined in Data.JsonRpc.Generic

Methods

gFieldSet :: FieldsW (C1 c a a0)

(GFieldSetJSON a, Selector s) => GFieldSetJSON (S1 s a) Source # 
Instance details

Defined in Data.JsonRpc.Generic

Methods

gFieldSet :: FieldsW (S1 s a a0)

class GToArrayJSON f Source #

Minimal complete definition

gToArrayJSON

Instances

Instances details
GToArrayJSON (U1 :: Type -> Type) Source # 
Instance details

Defined in Data.JsonRpc.Generic

Methods

gToArrayJSON :: U1 a -> Vector Value

ToJSON a => GToArrayJSON (K1 i a :: Type -> Type) Source # 
Instance details

Defined in Data.JsonRpc.Generic

Methods

gToArrayJSON :: K1 i a a0 -> Vector Value

(GToArrayJSON a, GToArrayJSON b) => GToArrayJSON (a :*: b) Source # 
Instance details

Defined in Data.JsonRpc.Generic

Methods

gToArrayJSON :: (a :*: b) a0 -> Vector Value

GToArrayJSON a => GToArrayJSON (M1 i c a) Source # 
Instance details

Defined in Data.JsonRpc.Generic

Methods

gToArrayJSON :: M1 i c a a0 -> Vector Value