Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mechanically derived instances using Template Haskell #12

Merged
merged 2 commits into from Aug 7, 2011
Merged

Mechanically derived instances using Template Haskell #12

merged 2 commits into from Aug 7, 2011

Conversation

roelvandijk
Copy link
Contributor

Hello,

Attached are 2 patches which add a module Data.Aeson.TH. This module offers functions to automatically derive ToJSON and FromJSON instances for your datatypes. The encoding used by Data.Aeson.TH should be compatible with Data.Aeson.Generic.

Note that these patches also add a dependency on the template-haskell package. The package version is left untouched.

@bos bos merged commit 5196c72 into haskell:master Aug 7, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants