20 #include <ripple/basics/contract.h>
21 #include <ripple/json/json_reader.h>
22 #include <test/jtx/jtx_json.h>
23 #include <test/jtx/utility.h>
32 Throw<parse_error>(
"bad json");
48 jv[iter.key().asString()] = *iter;
json(std::string const &)
void operator()(Env &, JTx &jt) const
const_iterator end() const
Unserialize a JSON document into a Value.
Execution context for applying a JSON transaction.
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
STObject parse(Json::Value const &jv)
Convert JSON to STObject.
const_iterator begin() const
A transaction testing environment.