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

Method build_json

lib_acl_cpp/src/stdlib/json.cpp:822–832  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

820}
821
822void json::build_json(string& out, bool add_space /* = false */) const
823{
824 if (add_space) {
825 const_cast<json*>(this)->json_->flag |= ACL_JSON_FLAG_ADD_SPACE;
826 } else {
827 const_cast<json*>(this)->json_->flag &= ~ACL_JSON_FLAG_ADD_SPACE;
828 }
829
830 ACL_VSTRING* buf = out.vstring();
831 (void) acl_json_build(json_, buf);
832}
833
834void json::reset()
835{

Callers 7

do_jsonMethod · 0.80
mainFunction · 0.80
mainFunction · 0.80
testFunction · 0.80
mainFunction · 0.80
testFunction · 0.80
statusToJsonMethod · 0.80

Calls 2

acl_json_buildFunction · 0.85
vstringMethod · 0.80

Tested by

no test coverage detected