Lars

Results 2 comments of Lars

I recently came across the same stuff using Spray. Got a PR that works at least for my cases: https://github.com/spray/spray-json/pull/242

Came across this behaviour as well. The issue appears to be in `JsNumber.apply` (https://github.com/spray/spray-json/blob/master/src/main/scala/spray/json/JsValue.scala#L97) where the Float should be converted to a `BigDecimal` using `BigDecimal.decimal` rather than `BigDecimal` (see documentation...