mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
`Json::Value::isConvertibleTo` indicates that unsigned integers and reals are convertible to string, but trying to do so (with `Json::Value::asString`) throws an exception because its internal switch is missing these cases. This change fills them in (and adds tests). Acknowledgements: Ripple thanks Guido Vranken for responsibly disclosing this issue. Closes #2778
JSON
Third party library to do JSON operations.