MCPcopy 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
771Json Json::eraseKey(String key) const {
772 auto map = toObject();
773 map.erase(std::move(key));
774 return map;
775}
776
777Json Json::set(size_t index, Json value) const {
778 auto array = toArray();

Callers 3

pathRemoveFunction · 0.45
TESTFunction · 0.45
setMethod · 0.45

Calls 1

eraseMethod · 0.45

Tested by 1

TESTFunction · 0.36