Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/acl-dev/acl
/ setString
Method
setString
lib_acl_cpp/samples/benchmark/json/jtjson/json.cpp:542–548 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
540
}
541
542
void
543
Json::setString(const char* value)
544
{
545
clear();
546
type_ = String;
547
new (&string_value) std::string(value);
548
}
549
550
void
551
Json::setString(std::string&& value)
Callers
1
parse
Method · 0.80
Calls
1
clear
Function · 0.50
Tested by
no test coverage detected