homepage: https://github.com/blackheaven/aeson-modern-tojson#readme
changelog-type: markdown
hash: 9c987764fbfba050dd8ca5702499de5695e31611fa4b19b604a91765a673e2c5
test-bench-deps:
  aeson-modern-tojson: -any
  base: '>=4.7 && <5'
  inspection-testing: '>=0.4.4.0 && <1.0'
  aeson: '>=1.0.0.0 && <2'
maintainer: gautier.difolco@gmail.com
synopsis: Provide a handy way for derving ToJSON proprely.
changelog: |
  # Changelog for aeson-modern-tojson

  ## Unreleased changes

  ## 0.1.0.0
   * Library creation
basic-deps:
  base: '>=4.7 && <5'
  aeson: '>=1.0.0.0 && <2'
all-versions:
- 0.1.0.0
author: Gautier DI FOLCO
latest: 0.1.0.0
description-type: markdown
description: |
  # aeson-modern-tojson
  Provide a newtype to be used with DerivingVia to correctly derive [ToJSON](https://hackage.haskell.org/package/aeson-1.5.6.0/docs/Data-Aeson.html#g:7).

  As simple as:


  ```
  data W = W Int Int
  deriving stock (Generic)
  deriving (ToJSON) via (ModernToJSON W)
  ```
license-name: ISC

Update from Hackage at 2021-06-28T21:30:43Z
Update from Hackage at 2021-06-28T21:30:43Z
