Commits

Author Commit Message Labels Comments Date
jsgf
Use toAscList for Sets to guarantee stable ordering Plain Data.Set.toList doesn't seem to guarantee a order, and it would be unfortunate to get different serializations of a Set depending on how it was constructed.
jsgf
Add IsString instance for Value to allow direct use of string literals.
jsgf
Tweak documentation.
jsgf
Add ./ operator for traversing Object heirarchies. ./ allows an Object heirarchy to be traversed without parsing anything. If any of the path components is missing or the wrong type, it returns Missing.
jsgf
Add Missing Value for non-present values. If a Maybe a value should only be optionally included in an Object (as opposed to being set as "null"), then use .=? to construct its Pair. This sets the Value to Missing, which causes it to be subsequently excluded from the Object.
Bryan O'Sullivan
Merge
Bryan O'Sullivan
Fix thinko
Bryan O'Sullivan
Merge
Bryan O'Sullivan
Merge tests
Bryan O'Sullivan
Merge Either instance
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).
  1. Prev
  2. Next