prelate-0.1.0.0: A Prelude
Safe HaskellSafe-Inferred
LanguageHaskell2010

Prelate.Json

Synopsis

Documentation

json :: Name -> Q [Dec] Source #

Derive Aeson codecs that strip underscores and unwrap data/newtype with single fields.

unaryJson :: Name -> Q [Dec] Source #

Derive Aeson codecs that strip underscores.