Commits

Author Commit Message Labels Comments Date
Bryan O'Sullivan
Merge TH code
Bryan O'Sullivan
Merge the .gitignore addition
Bryan O'Sullivan
Merge Neill Bogie's changes
GitHub Merge Button
Jared Hance
Add tests/qc to .gitignore
Jared Hance
Add (non exhaustive) tests for fromJSON . toJSON == id
Jared Hance
Change toJSON and fromJSON instances for Either. Previously, fromJSON . toJSON == id was violated by the Either instances. In addition, if both types are parsable from the same JSON, then the Left is always given favor - which is probably not desirable. Instead, differentiate the instances using an array. This allows for "Either a a" to actually work instead of always chosing Left in FromJSON.
roelvandijk
Additional documentation for Data.Aeson.TH
roelvandijk
Added Data.Aeson.TH, mechanically derived instances
basvandijk
Encode the constructors of Either so that "fromJSON . toJSON == id" holds
Neill Bogie
Add simplest example of parsing and encoding.
Neill Bogie
Added the simplest runnable demo of parsing and generation. Included it in cabal's extra-source-files so it's bundled by cabal sdist. It's not compiled with the package, so how do we prevent it from bit-rotting?
Neill Bogie
Mention where doc examples assume OverloadedStrings is enabled. Hopefully, this will save haskell newcomers some confusion.
Philip Weaver
In Data.Aeson.Parser, export jstring
Bryan O'Sullivan
Added tag 0.3.2.10 for changeset 92f55303433c
Bryan O'Sullivan
Bump version
Tags
0.3.2.10
Bryan O'Sullivan
Update docs to refer to the double-conversion problems.
Bryan O'Sullivan
Properly encode NaN and Infinity. This used to be handled by the blaze-textual package, but that made no sense.
Bryan O'Sullivan
A few more little floating point cleanups.
Bryan O'Sullivan
Use realToFrac instead of (fromRational . toRational).
Bryan O'Sullivan
Note the UTF-8 requirement on encodings.
Bryan O'Sullivan
Added tag 0.3.2.9 for changeset 0407bf230b15
Bryan O'Sullivan
Bump unordered-containers dependency
Tags
0.3.2.9
Bryan O'Sullivan
Added tag 0.3.2.8 for changeset 955fe54d335c
Bryan O'Sullivan
Bump version
Tags
0.3.2.8
Bryan O'Sullivan
Add ToJSON and FromJSON instances for HashSet.
Bryan O'Sullivan
Added tag 0.3.2.7 for changeset bf1fa4553d85
Bryan O'Sullivan
Update benchmark results. With some undesirable backtracking eliminated in attoparsec 0.9.0.0, we see a nice little bump in parsing performance: between 5% and 12%. This has also had the nice effect of reducing memory use by about 15%.
Tags
0.3.2.7
Bryan O'Sullivan
Bump version
Bryan O'Sullivan
Tighten up the top-level json parser to be safer
  1. Prev
  2. Next