[Haskell-cafe] JSON library suggestions?
tab at snarc.org
Wed Apr 25 09:13:08 CEST 2012
On 04/24/2012 09:46 PM, Jeff Shaw wrote:
> Up until now I've been using Aeson, but I've found that its number type isn't
> going to work for me. I need to use decimal numbers while avoiding conversions
> from and to Double, which Aeson doesn't allow. There are quite a few more JSON
> libraries for Haskell, which all appear to use Rational for numbers, so I'm
> wondering if anyone can recommend one.
Not sure that's helpful to you since it's a C binding solution, but i haven't
found anything that i could use related to JSON in Haskell since i wanted:
- event based parsing.
- DoS protection.
- integer and float represented as array of bytes.
- and last but not least break neck speed.
so i ended up binding my own C embedded library . I could clean up my ugly
bindings and publish it somewhere if it's useful.
I do have a plan, someday, to experiment with a rewrite in haskell using the
exact same technique but the will and time to do so have lacked so far.
More information about the Haskell-Cafe