Commits

Author Commit Message Labels Comments Date
Bryan O'Sullivan
Reduce code duplication.
Bryan O'Sullivan
Merge pull request #51 from hvr/issue-37 Add strict parsers variants of `json` and `value`
Herbert Valerio Riedel
Add strict parsers variants of `json` and `value` This changeset builds on top of dab1302e9b0fcb464e8db2910fe4e2f77697979f, and just strictifies the monadic `return`s used in the attoparsec `Parser`s monad to avoid leaving thunks behind during parsing. This addresses issue #37
Bryan O'Sullivan
Merge pull request #52 from basvandijk/master Fix for building Data.Aeson.TH with GHC-6.12.3
basvandijk
Fix for building Data.Aeson.TH with GHC-6.12.3. When quoting an expression with a higher ranked type in GHC-6.12.3 like: [e|V.create :: (forall s. GHC.ST.ST s (Data.Vector.Mutable.MVector s a)) -> Data.Vector.Vector a|] `appE` ... the following error is thrown: Cannot match a monotype with `(forall s. GHC.ST.ST s (Data.Vector.Mutable.MVector s a)) -> Data.Vector.Vector a' Probable cause: `V.create' is applied to too few argume…
Bryan O'Sullivan
Merge pull request #48 from basvandijk/faster-tuples More efficient ToJSON and FromJSON instances for tuples
Bryan O'Sullivan
Merge pull request #46 from basvandijk/optimizations Optimizations
basvandijk
More efficient ToJSON and FromJSON instances for tuples toJSON previously converted a tuple into a list and then converted that list into a vector. I now run a ST computation that creates a mutable vector of the correct size and fills it with the right Values. This improves performance by 45%. fromJSON previously converted the vector into a list and then pattern matched that list so that the elements could be parsed. I now index the vector directly so we don't need to create a list. This improved performance by 20%.
basvandijk
Improved performance of the template-haskell derived toJSON for products by 70% 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
Merge branch 'master' of git://github.com/bos/aeson into optimizations
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
Remove tests/Makefile
Bryan O'Sullivan
Fix compilation breakage
Bryan O'Sullivan
Merge
Eduard Sergeev
Add handling of the leading '_' to 'fromJSON' So '_'-augmented fields can be not only serialized to JSON but also de-serialized without "field does not exist _Id"-like exception
Bryan O'Sullivan
Merge
Eduard Sergeev
Added a test for '_' field roundtrip
Bryan O'Sullivan
Close another old branch
Bryan O'Sullivan
Merge
basvandijk
Make a 4-tuple an instance of ToJSON and FromJSON
basvandijk
Fix bug in (.:/) M.lookup should now be H.lookup
Bryan O'Sullivan
Fix compilation error.
Bryan O'Sullivan
Merge pull request #38 from zhensydow/master Added new accessor with default value
zhensydo
add new accessor (.:/) to allow default value
Bryan O'Sullivan
Merge pull request #41 from basvandijk/hashmap Use HashMap instead of Map for Objects
basvandijk
Doc fix in Data.Aeson.TH
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
Bryan O'Sullivan
Merge
  1. Prev
  2. Next