<commit_before>homepage: https://github.com/blackheaven/aeson-modern-tojson#readme
changelog-type: markdown
hash: 779e9f3dedce9462d5baaa16c0aaddb8acde9e925cd6af956673773742d3c907
test-bench-deps:
  aeson-modern-tojson: -any
  base: '>=4.7 && <5'
  inspection-testing: '>=0.4.4.0 && <1.0'
  aeson: '>=1.0.0.0 && <3'
maintainer: <EMAIL>
synopsis: Provide a handy way for derving ToJSON proprely.
changelog: |
  # Changelog for aeson-modern-tojson

  ## Unreleased changes

  ## 0.1.1.0
   * Set aeson 2 compatibility

  ## 0.1.0.0
   * Library creation
basic-deps:
  base: '>=4.7 && <5'
  aeson: '>=1.0.0.0 && <3'
all-versions:
- 0.1.0.0
- 0.1.1.0
author: <NAME>
latest: 0.1.1.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<commit_msg>Update from Hackage at 2022-07-26T14:31:54Z<commit_after>homepage: https://github.com/blackheaven/aeson-modern-tojson#readme
changelog-type: markdown
hash: d213c03c329aed83f0d6f22ce4e3fb5b16d42d92eab1efcd98cbb14f76a46e15
test-bench-deps:
  aeson-modern-tojson: -any
  base: '>=4.7 && <5'
  inspection-testing: '>=0.4.4.0 && <1.0'
  aeson: '>=1.0.0.0 && <3'
maintainer: <EMAIL>
synopsis: Provide a handy way for derving ToJSON proprely.
changelog: |
  # Changelog for aeson-modern-tojson

  ## Unreleased changes

  ## 0.2.0.0
   * Drop `ModernToJSON`, use `GenericallyToJSONToEncoding` instead
   * Introduce `GenericallyToEncoding`

  ## 0.1.1.0
   * Set aeson 2 compatibility

  ## 0.1.0.0
   * Library creation
basic-deps:
  base: '>=4.7 && <5'
  aeson: '>=1.0.0.0 && <3'
all-versions:
- 0.1.0.0
- 0.1.1.0
- 0.2.0.0
author: <NAME>
latest: 0.2.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-2.1.0.0/docs/Data-Aeson.html#g:7).

  As simple as:


  ```
  data W = W Int Int
      deriving stock (Generic)
      deriving (ToJSON) via (GenericallyToJSONToEncoding W)
  ```

  ```
  data X = X Int Int
      deriving stock (Generic)
      deriving (ToJSON) via (GenericallyToEncoding X)
  ```
license-name: ISC
{'fraction_non_alphanumeric': 0.15156576200417538, 'fraction_numerical': 0.07807933194154489, 'mean_word_length': 3.5464895635673623, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 20, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4106836', 'n_tokens_mistral': 1105, 'n_tokens_neox': 999, 'n_words': 207}