Execute a command which returns JSON, and parse the result.

Synopsis

Declared in <common/run_command.h>

UniValue
RunCommandParseJSON(
    std::vector<std::string> const& cmd_args,
    std::string const& str_std_in = "");

Return Value

parsed JSON

Parameters

Name

Description

cmd_args

The command and arguments

str_std_in

string to pass to stdin

Created with MrDocs