MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / read_json

Function read_json

src/test/util/json.cpp:12–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10#include <string_view>
11
12UniValue read_json(std::string_view jsondata)
13{
14 UniValue v;
15 Assert(v.read(jsondata) && v.isArray());
16 return v.get_array();
17}

Callers 6

BOOST_AUTO_TEST_CASEFunction · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85

Calls 2

isArrayMethod · 0.80
readMethod · 0.45

Tested by

no test coverage detected