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

Method buildObject

src/examples/stubserver.cpp:83–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81}
82
83Json::Value MyStubServer::buildObject(const string &name, int age) {
84 Json::Value result;
85 result["name"] = name;
86 result["year"] = age;
87 return result;
88}
89
90string MyStubServer::methodWithoutParameters() { return "Test"; }
91

Callers 1

mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected