Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytedance/sonic-cpp
/ set_new_value
Function
set_new_value
example/get_and_set.cpp:24–28 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
22
}
23
24
void set_new_value(member_itr_type m) {
25
sonic_json::Node& value = m->value;
26
value.SetInt64(2);
27
return;
28
}
29
30
int main() {
31
std::string json = R"(
Callers
1
main
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected