Source

aeson / Data / Aeson / Types / Internal.hs

The default branch has multiple heads

Author Commit Message Labels Comments Date
basvandijk
Remove unneeded import
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.
basvandijk
Improved documentation on encoding Options
basvandijk
Change default encoding options to include Nothing fields by default I think this is a more sensible default.
basvandijk
Changed default encoding of sum datatypes to ObjectWithType
basvandijk
Add the omitNothingFields encoding option
basvandijk
Resolved conflict
basvandijk
Parameterize the gParseJSON and gToJSON with encoding Options
Bryan O'Sullivan
Tweaklet
Bryan O'Sullivan
Simplify the definition of modifyFailure
Michael Snoyman
modifyFailure (bos/aeson#104)
Bryan O'Sullivan
Update copyright years
Bryan O'Sullivan
Switch over to new hashable interface
Bryan O'Sullivan
Update copyrights.
Bryan O'Sullivan
Merge
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
Strict Value fields This improves the running time of the AesonParse benchmarks. I don't think there's a use-case for lazy fields. Fixes #37
basvandijk
Merge branch 'master' of git://github.com/mailrank/aeson into optimizations Also removed some unnecessary language extensions Conflicts: Data/Aeson/Types/Internal.hs
basvandijk
Slightly improved performance of generically parsing sums The BigSum/fromJSON/generic benchmarks goes from 13.6 us to 11.3 us. Thanks to Twan van Laarhoven for the idea of using Maybe for the parse result instead of using the parser directly
basvandijk
Improved performance of generic toJSON of sums by a factor of 2 simply by writing the function in pointfree style.
basvandijk
Improved performance of generic parseJSON of records by a factor of 3 simply by writing the function in pointfree style. This probably enables GHC to inline the function better.
basvandijk
Improved performance of generic parseJSON of products even further Improved by a factor of 4.4 (on the BigProduct benchmark) Now we are faster than TH!
basvandijk
Merge branch 'master' of git://github.com/mailrank/aeson into optimizations
basvandijk
Improved performance of generic parseJSON of products We first check if the length of the given array equals the length of the product, then we can unsafely index the array which yields a nice performance improvement. We are now faster than syb on the BigProduct benchmark.
Bryan O'Sullivan
Close another old branch
  1. Prev
  2. 1
  3. 2
  4. Next