Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenStarbound/OpenStarbound
/ eraseKey
Method
eraseKey
source/core/StarJson.cpp:771–775 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
769
}
770
771
Json Json::eraseKey(String key) const {
772
auto map = toObject();
773
map.erase(std::move(key));
774
return map;
775
}
776
777
Json Json::set(size_t index, Json value) const {
778
auto array = toArray();
Callers
3
pathRemove
Function · 0.45
TEST
Function · 0.45
set
Method · 0.45
Calls
1
erase
Method · 0.45
Tested by
1
TEST
Function · 0.36