← All repos

deriving-aeson

Scrap your hand-rolled aeson instances

Browse cluster: Haskell tooling and libraries
64commits
12contributors
1languages

Tech stack & purpose

deriving-aeson is a Haskell package that provides customizable JSON serialization and deserialization for the aeson library using type-level configuration and the DerivingVia language extension. Rather than writing manual aeson instances, users can compose type-level modifiers like OmitNothingFields and FieldLabelModifier to control how Haskell record fields are transformed into JSON. The package includes built-in helpers such as StripPrefix, CamelToSnake, and various stock aliases like PrefixedSnake to reduce boilerplate further, and supports custom name transformations through a StringModifier typeclass.

Community & reference links

Languages

Haskell
100.0%

Contributors