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.
Hopefully this is corrected now. If not, re-open at: https://github.com/open-source-parsers/jsoncpp/issues/new
Log in to post a comment.
Hopefully this is corrected now. If not, re-open at: https://github.com/open-source-parsers/jsoncpp/issues/new