Convert tree to using univalue. Eliminate all json_spirit uses.
This commit is contained in:
committed by
Jonas Schnelli
parent
5e3060c0d1
commit
15982a8b69
@@ -135,7 +135,7 @@ Array RPCConvertValues(const std::string &strMethod, const std::vector<std::stri
|
||||
// parse string as JSON, insert bool/number/object/etc. value
|
||||
else {
|
||||
Value jVal;
|
||||
if (!read_string(strVal, jVal))
|
||||
if (!jVal.read(strVal))
|
||||
throw runtime_error(string("Error parsing JSON:")+strVal);
|
||||
params.push_back(jVal);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user