mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
`Json::Object` and related objects are not used at all, so this change removes `include/xrpl/json/Object.h` and all downstream files. There are a number of minor downstream changes as well. Full list of deleted classes and functions: * `Json::Collections` * `Json::Object` * `Json::Array` * `Json::WriterObject` * `Json::setArray` * `Json::addObject` * `Json::appendArray` * `Json::appendObject` The last helper function, `copyFrom`, seemed a bit more complex and was actually used in a few places, so it was moved to `LedgerToJson.h` instead of deleting it.
17 lines
272 B
C++
17 lines
272 B
C++
#ifndef XRPL_NET_RPCERR_H_INCLUDED
|
|
#define XRPL_NET_RPCERR_H_INCLUDED
|
|
|
|
#include <xrpl/json/json_value.h>
|
|
|
|
namespace xrpl {
|
|
|
|
// VFALCO NOTE these are deprecated
|
|
bool
|
|
isRpcError(Json::Value jvResult);
|
|
Json::Value
|
|
rpcError(error_code_i iError);
|
|
|
|
} // namespace xrpl
|
|
|
|
#endif
|