Source

aeson / Data / Aeson / Types / Generic.hs

The default branch has multiple heads

Author Commit Message Labels Comments Date
basvandijk
Renamed nullaryToString to the more accurate allNullaryToStringTag
basvandijk
Renamed fieldNameModifier to the more accurate fieldLabelModifier
basvandijk
Rename constructor name/type to constructor tag which is more accurate. - Rename "constructorNameModifier" to "constructorTagModifier". - Rename "ObjectWithType" to "TaggedObject". - Rename "typeFieldName" to "tagFieldName". - Rename "defaultObjectWithType" to "defaultTaggedObject".
basvandijk
Renamed valueFieldName to contentsFieldName This reflects its purpose more accurately.
Bryan O'Sullivan
Merge
basvandijk
Some more refactoring in Data.Aeson.Types.Generic
basvandijk
Refactored Data.Aeson.Types.Generic - Better naming - Clearer sectioning - Some documentation - Some implementation changes
basvandijk
Use the more efficient unsafeShiftR instead of shiftR when base >= 4.5
basvandijk
Refactoring in Data.Aeson.Types.Generic
basvandijk
Add the omitNothingFields encoding option
basvandijk
Treat the absence of a Maybe field as Nothing in the GHC Generics code
basvandijk
Support the TwoElemArray and ObjectWithType sum encodings in gParseJSON
basvandijk
Support the TwoElemArray and ObjectWithType sum encodings in gToJSON
basvandijk
Parameterize the gParseJSON and gToJSON with encoding Options
Bryan O'Sullivan
Update copyright years
Bryan O'Sullivan
A few little cleanups
Bryan O'Sullivan
Remove redundant import
Bryan O'Sullivan
Merge
basvandijk
Improved performance of generic toJSON of products by 60% Instead of constructing a list and converting that to a vector I now run a ST computation that creates a mutable vector of the correct size and fills it with the right Values.
basvandijk
Use the dlist package instead of using our own DList type
Bryan O'Sullivan
Merge pull request #41 from basvandijk/hashmap Use HashMap instead of Map for Objects
basvandijk
Use HashMap instead of Map for Objects This gives some nice speedups in the AesonCompareAutoInstances benchmarks: 24.7% speedup on average 98.0% maximum speedup -1.7% maximum slowdown
Bryan O'Sullivan
Update maintainer email address
basvandijk
Merge branch 'master' of git://github.com/mailrank/aeson into optimizations Also removed some unnecessary language extensions Conflicts: Data/Aeson/Types/Internal.hs
Bryan O'Sullivan
Close another old branch
Bryan O'Sullivan
Split Types/Internal.hs into 3 files.