polysemy-time-0.6.0.2: A Polysemy effect for time
Safe HaskellSafe-Inferred
LanguageGHC2021

Polysemy.Time.Json

Description

Aeson derivation combinator, internal

Synopsis

Documentation

basicOptions :: Options Source #

Aeson codec options that remove leading and trailing underscores.

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.