Clio develop
The XRP Ledger API server.
|
Convert input string to integer. More...
#include <Modifiers.hpp>
Static Public Member Functions | |
static MaybeError | modify (boost::json::value &value, std::string_view key) |
Update the input string to integer if it can be converted to integer by stoi. | |
Convert input string to integer.
Note: the conversion is only performed if the input value is a string.
|
inlinestaticnodiscard |
Update the input string to integer if it can be converted to integer by stoi.
value | The JSON value representing the outer object |
key | The key used to retrieve the modified value from the outer object |