mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-30 07:55:51 +00:00
Use jss for many Json fields.
* Document JsonFields. * Remove some unused JsonFields values.
This commit is contained in:
@@ -89,6 +89,26 @@ private:
|
||||
const char* str_;
|
||||
};
|
||||
|
||||
inline bool operator== (std::string const& x, StaticString y)
|
||||
{
|
||||
return x == y.c_str();
|
||||
}
|
||||
|
||||
inline bool operator!= (std::string const& x, StaticString y)
|
||||
{
|
||||
return x != y.c_str();
|
||||
}
|
||||
|
||||
inline bool operator== (StaticString x, std::string const& y)
|
||||
{
|
||||
return y == x;
|
||||
}
|
||||
|
||||
inline bool operator!= (StaticString x, std::string const& y)
|
||||
{
|
||||
return y != x;
|
||||
}
|
||||
|
||||
/** \brief Represents a <a HREF="http://www.json.org">JSON</a> value.
|
||||
*
|
||||
* This class is a discriminated union wrapper that can represents a:
|
||||
|
||||
Reference in New Issue
Block a user