spray/spray-json — pull request #9 by stefri (2011-10-11 17:28:20+00:00)
Title: Implemented issue 8

Hi Mathias,

since I hit this NumberFormatException quite often, I implemented this issue, added a couple of test cases. Does run fine for my application.

While the serialization is easy, just translating NaN, Positive and NegativeInfinity for Doubles and Floats to null, the deserialization always translates a null value for Floats and Doubles into the corresponding NaN.

Steffen