MCPcopy Create free account
hub / github.com/cinemast/libjson-rpc-cpp / buildObject

Method buildObject

src/test/test_integration.cpp:58–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56 virtual bool isEqual(const std::string &str1, const std::string &str2) { return str1 == str2; }
57
58 virtual Json::Value buildObject(const std::string &name, int age) {
59 Json::Value result;
60 result["name"] = name;
61 result["age"] = age;
62 return result;
63 }
64
65 virtual std::string methodWithoutParameters() { return "foo"; }
66

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected