Source

aeson / Data / Aeson / Types / Class.hs

The default branch has multiple heads

Author Commit Message Labels Comments Date
basvandijk
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.
basvandijk
Add documentation about parameterizing the generic encoding
basvandijk
Parameterize the gParseJSON and gToJSON with encoding Options
Bryan O'Sullivan
Update copyright years
Bryan O'Sullivan
Merge pull request #90 from basvandijk/with Add functions for inspecting Values
basvandijk
Rewrite some parseJSON methods in terms of the new with* functions
basvandijk
Added functions for inspecting Values
Bryan O'Sullivan
Match prevailing coding style
Bryan O'Sullivan
Move deriving Eq ZonedTime to a safer place
Bryan O'Sullivan
Merge pull request #64 from mike-burns/iso-8601 parseJSON for the variations on ISO-8601 dates as listed in ECMA-262.
Mike Burns
toJSON for ZonedTime limits the milliseconds to three digits
Mike Burns
parseJSON for the variations on ISO-8601 dates as listed in ECMA-262.
wowus
Used realToFrac instead of toRational . fromRational.
wowus
Added an instance for the 'Fixed' class.
Bryan O'Sullivan
Clarify where DefaultSignatures is available
solirc
Fix module links in Haddock comments
Bryan O'Sullivan
Update copyrights.
Bryan O'Sullivan
Get rid of the (.:/) combinator.
Bryan O'Sullivan
Merge pull request #50 from hvr/defaulting-operator Add `.!=` operator as a ternary-style operator alternative to '.:/'
Herbert Valerio Riedel
Add `.!=` operator as a ternary-style operator alternative to '.:/' See haddock comment for usage example
Bryan O'Sullivan
Merge
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%.
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
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
  1. Prev
  2. 1
  3. 2
  4. Next