[Haskell-cafe] JSON library suggestions?

Jeremy Shaw jeremy at n-heptane.com
Tue Apr 24 23:19:55 CEST 2012


I could be wrong, but I think the only real numeric type in javascript
is 'Number' which is a floating point number? Which is why Aeson and
others insist on converting everything to a Double or other Rational

- jeremy

On Tue, Apr 24, 2012 at 3:46 PM, Jeff Shaw <shawjef3 at msu.edu> wrote:
> Hello,
> 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.
> Thanks,
> Jeff
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe

More information about the Haskell-Cafe mailing list