MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / set

Method set

source/core/StarFormattedJson.cpp:282–284  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

280}
281
282FormattedJson FormattedJson::set(String const& key, FormattedJson const& value) const {
283 return objectInsert(key, value, m_elements.size());
284}
285
286void removeValueFromArray(List<JsonElement>& elements, size_t loc) {
287 // Remove the value itself, the comma following and the whitespace up to the

Callers 1

appendElementMethod · 0.45

Calls 4

formatFunction · 0.70
typeFunction · 0.50
sizeMethod · 0.45
atMethod · 0.45

Tested by

no test coverage detected