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
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.