ghcjs-base-0.2.0.0: base library for GHCJS

Safe HaskellNone
LanguageHaskell98

JavaScript.JSON.Types.Class

Contents

Synopsis

Type classes

Core JSON classes

class FromJSON a where Source

Minimal complete definition

Nothing

Methods

parseJSON :: Value -> Parser a Source

class ToJSON a where Source

Minimal complete definition

Nothing

Methods

toJSON :: a -> Value Source

Generic JSON classes

class GFromJSON f where Source

Methods

gParseJSON :: Options -> Value -> Parser (f a) Source

class GToJSON f where Source

Methods

gToJSON :: Options -> f a -> Value Source