Menu

#53 NaN and infinity are handled incorrectly

0.5.0
closed-fixed
nobody
Writer (2)
5
2015-03-06
2012-10-31
Josh Kelley
No

The JSON spec doesn't allow NaN or infinity, but JsonCpp fails to check for NaN and infinity in its valueToString( double value ) function, so it will create invalid JSON in this case.

Discussion

  • Christopher Dunn

    • status: open --> closed-fixed
    • Group: --> 0.5.0
     

Log in to post a comment.