ghcjs-base-0.2.0.0: base library for GHCJS
JavaScript.JSON.Types.Class
Contents
Synopsis
class FromJSON a where Source
Minimal complete definition
Nothing
Methods
parseJSON :: Value -> Parser a Source
class ToJSON a where Source
toJSON :: a -> Value Source
class GFromJSON f where Source
gParseJSON :: Options -> Value -> Parser (f a) Source
class GToJSON f where Source
gToJSON :: Options -> f a -> Value Source
genericToJSON :: (Generic a, GToJSON (Rep a)) => Options -> a -> Value Source
genericParseJSON :: (Generic a, GFromJSON (Rep a)) => Options -> Value -> Parser a Source