MCPcopy Create free account
hub / github.com/acl-dev/acl / get_text

Method get_text

lib_acl_cpp/src/stdlib/json.cpp:37–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35}
36
37const char* json_node::get_text() const
38{
39 if (node_me_->text) {
40 if (ACL_VSTRING_LEN(node_me_->text) > 0) {
41 return acl_vstring_str(node_me_->text);
42 } else {
43 return "";
44 }
45 } else {
46 return NULL;
47 }
48}
49
50json_node* json_node::get_obj() const
51{

Callers 15

do_jsonMethod · 0.80
do_jsonMethod · 0.80
do_jsonMethod · 0.80
mainFunction · 0.80
do_jsonMethod · 0.80
test_typeFunction · 0.80
mainFunction · 0.80
testFunction · 0.80
testFunction · 0.80
testFunction · 0.80
testFunction · 0.80
list_printFunction · 0.80

Calls

no outgoing calls

Tested by 2

test_typeFunction · 0.64
test_typeFunction · 0.64