Reintroduced the TH sum encoding of an Object with a single type/value pair
Added constructorNameModifier field to Data.Aeson.TH.Options
Add defaultObjectWithType and improve documentation
Parameterize the gParseJSON and gToJSON with encoding Options
Support the TwoElemArray and ObjectWithType sum encodings in gToJSON
Support the TwoElemArray and ObjectWithType sum encodings in gParseJSON
Add documentation about parameterizing the generic encoding
Fixed bug in the TH code of parsing a 2-element-array encoded value
Added TH and GHC Generics tests to the test suite
Resolved conflict
Added tests/Options.hs
Treat the absence of a Maybe field as Nothing in the GHC Generics code
Add the omitNothingFields encoding option
Refactoring in Data.Aeson.Types.Generic
Changed default encoding of sum datatypes to ObjectWithType
Added the genericToJSON and genericParseJSON functions
This makes it easier to parameterize the generic JSON encoding/decoding
since users now don't need to import GHC.Generics
and so don't need to depend on ghc-prim.
Change default encoding options to include Nothing fields by default
I think this is a more sensible default.
Merged master
Fix benchmarks/AesonCompareAutoInstances.hs
Fix the AesonCompareAutoInstances benchmarks