zuul-0.1.1.0: A zuul client library
Safe HaskellNone
LanguageHaskell2010

Zuul.Aeson

Description

Helper functions to derive JSON encoder/decoder

Synopsis

Documentation

zuulParseJSON :: (Generic a, GFromJSON Zero (Rep a)) => Text -> Value -> Parser a Source #

An helper function to implement the parseJSON class

zuulToJSON :: (Generic a, GToJSON' Value Zero (Rep a)) => Text -> a -> Value Source #

An helper function to implement the toJSON class