Clio develop
The XRP Ledger API server.
Loading...
Searching...
No Matches
rpc::check::Deprecated<> Class Referencefinal

Check if a field is deprecated. More...

#include <Checkers.hpp>

Static Public Member Functions

static std::optional< Warningcheck (boost::json::value const &value, std::string_view key)
 Check if a field is deprecated.
 

Detailed Description

Check if a field is deprecated.

Member Function Documentation

◆ check()

static std::optional< Warning > rpc::check::Deprecated<>::check ( boost::json::value const & value,
std::string_view key )
inlinestaticnodiscard

Check if a field is deprecated.

Parameters
valueThe json value to check
keyThe key to check
Returns
A warning if the field is deprecated or std::nullopt otherwise

The documentation for this class was generated from the following file: