prelate-0.7.0.1: A Prelude
Safe HaskellSafe-Inferred
LanguageGHC2021

Prelate.Json

Description

Aeson TH functions

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.