Source

aeson / Data / Aeson / Encode.hs

The default branch has multiple heads

Author Commit Message Labels Comments Date
basvandijk
Fix issue #81: Escape < and > characters in JSON strings to prevent XSS attacks
Bryan O'Sullivan
Tiny perf tweaks
Bryan O'Sullivan
Improve docs, and use <> instead of mappend.
Bryan O'Sullivan
Drop use of blaze-builder during encoding. This improves performance by about 10%.
Bryan O'Sullivan
Add another useful SCC annotation This lets us see the cost of string encoding more clearly.
Bryan O'Sullivan
Add some SCC annotations, and try to improve performance.
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
Bryan O'Sullivan
Update maintainer email address
Bryan O'Sullivan
Close another old branch
Bryan O'Sullivan
Close an old branch
Bryan O'Sullivan
Merge
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
Fix thinko
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
Note the UTF-8 requirement on encodings.
Bryan O'Sullivan
Port a bunch of code over to blaze-textual for reuse.
Tags
0.3.2.5
Bryan O'Sullivan
Update docs
Bryan O'Sullivan
Tidy up the code a little.
Simon Meier
locally implement faster writing of Text values - compared to aeson-0.3.2.0 we have 50% speedup on Text serialization! !! Requires Data.Text.Fusion to be exported by the 'text' library !!
Simon Meier
'writeJSONChar' gives better string encoding performance - 15% performance increase for string encoding
Bryan O'Sullivan
Improve encoding performance for integers by 3x
Bryan O'Sullivan
Speed up the encoding of numbers.
Bryan O'Sullivan
Experimental HashMap fun Makes parsing about 5% faster
Branches
hashmap
Bryan O'Sullivan
Documentation
Bryan O'Sullivan
Escape control characters properly.
Bryan O'Sullivan
Split the JSON class in two
Bryan O'Sullivan
Support JSON encoding