MCPcopy Create free account
hub / github.com/HumbleNet/HumbleNet / get_object_string

Function get_object_string

src/api_builder/utilities.cpp:62–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62std::string get_object_string(json_value *val)
63{
64 if (!val) return "";
65
66 if (val->type == json_string) {
67 return val->u.string.ptr;
68 }
69 return "";
70}

Callers 1

has_optionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected