Source

aeson / Data / Aeson / Types.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
Parameterize the gParseJSON and gToJSON with encoding Options
Michael Snoyman
modifyFailure (bos/aeson#104)
Bryan O'Sullivan
Update copyright years
basvandijk
Added functions for inspecting Values
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
Michael Snoyman
Allow aeson 0.3 to work with deepseq 1.2
Tags
0.3.2.13
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
Update maintainer email address
Bryan O'Sullivan
Close another old branch
Bryan O'Sullivan
Split Types/Internal.hs into 3 files.
Bryan O'Sullivan
Hide genericToJSON and genericFromJSON.
Luis Cabellos
add IntMap JSON isntances
basvandijk
Default methods for toJSON and parseJSON using the new DefaultSignatures extension The methods default to the generic implementations. I had to move the generic implementations into the Types module and define and export genericToJSON and genericFromJSON. Other arrangements exists but this was the quickest to implement. Note that the default methods are only enabled when the extension is available. Currently this is the case for ghc >= 7.2.1.
basvandijk
Added ToJSON and FromJSON instances for the remaining Vectors Storable, Primitive, Uboxed
Bryan O'Sullivan
Merge
jsgf
Merge remote-tracking branch 'upstream/master'
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 tests
Bryan O'Sullivan
Merge Either instance
Bryan O'Sullivan
Merge Neill Bogie's changes
  1. Prev
  2. 1
  3. 2
  4. 3
  5. Next