Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
class GFromArrayJSON f Source #
gFromArrayJSON
Instances
GFromArrayJSON (U1 :: Type -> Type) Source # | |
Defined in Data.JsonRpc.Generic gFromArrayJSON :: StateT [Value] Parser (U1 a) | |
FromJSON a => GFromArrayJSON (K1 i a :: Type -> Type) Source # | |
Defined in Data.JsonRpc.Generic gFromArrayJSON :: StateT [Value] Parser (K1 i a a0) | |
(GFromArrayJSON a, GFromArrayJSON b) => GFromArrayJSON (a :*: b) Source # | |
Defined in Data.JsonRpc.Generic gFromArrayJSON :: StateT [Value] Parser ((a :*: b) a0) | |
GFromArrayJSON a => GFromArrayJSON (M1 i c a) Source # | |
Defined in Data.JsonRpc.Generic gFromArrayJSON :: StateT [Value] Parser (M1 i c a a0) |
genericParseJSONRPC :: (Generic a, GFromJSON0 (Rep a), GFromArrayJSON (Rep a), GFieldSetJSON (Rep a)) => JsonRpcOptions -> Options -> Value -> Parser a Source #
class GFieldSetJSON f Source #
gFieldSet
Instances
GFieldSetJSON (U1 :: Type -> Type) Source # | |
Defined in Data.JsonRpc.Generic | |
GFieldSetJSON (K1 i a :: Type -> Type) Source # | |
Defined in Data.JsonRpc.Generic | |
(GFieldSetJSON a, GFieldSetJSON b) => GFieldSetJSON (a :*: b) Source # | |
Defined in Data.JsonRpc.Generic | |
GFieldSetJSON a => GFieldSetJSON (D1 c a) Source # | |
Defined in Data.JsonRpc.Generic | |
GFieldSetJSON a => GFieldSetJSON (C1 c a) Source # | |
Defined in Data.JsonRpc.Generic | |
(GFieldSetJSON a, Selector s) => GFieldSetJSON (S1 s a) Source # | |
Defined in Data.JsonRpc.Generic |
genericFieldSetParseJSON :: (Generic a, GFromJSON0 (Rep a), GFieldSetJSON (Rep a)) => JsonRpcOptions -> Options -> Value -> Parser a Source #
class GToArrayJSON f Source #
gToArrayJSON
Instances
GToArrayJSON (U1 :: Type -> Type) Source # | |
Defined in Data.JsonRpc.Generic gToArrayJSON :: U1 a -> Vector Value | |
ToJSON a => GToArrayJSON (K1 i a :: Type -> Type) Source # | |
Defined in Data.JsonRpc.Generic gToArrayJSON :: K1 i a a0 -> Vector Value | |
(GToArrayJSON a, GToArrayJSON b) => GToArrayJSON (a :*: b) Source # | |
Defined in Data.JsonRpc.Generic gToArrayJSON :: (a :*: b) a0 -> Vector Value | |
GToArrayJSON a => GToArrayJSON (M1 i c a) Source # | |
Defined in Data.JsonRpc.Generic gToArrayJSON :: M1 i c a a0 -> Vector Value |
genericToArrayJSON :: (Generic a, GToArrayJSON (Rep a)) => a -> Value Source #