Clio develop
The XRP Ledger API server.
|
Check if a value of a field is deprecated. More...
#include <Checkers.hpp>
Public Member Functions | |
Deprecated (T val) | |
Construct a new Deprecated object. | |
std::optional< Warning > | check (boost::json::value const &value, std::string_view key) const |
Check if a value of a field is deprecated. | |
Check if a value of a field is deprecated.
T | The type of the field |
|
inline |
Construct a new Deprecated object.
val | The value that is deprecated |
|
inlinenodiscard |
Check if a value of a field is deprecated.
value | The json value to check |
key | The key to check |