Hello, 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 number?
- jeremy On Tue, Apr 24, 2012 at 3:46 PM, Jeff Shaw <[email protected]> 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 > [email protected] > http://www.haskell.org/mailman/listinfo/haskell-cafe _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
