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

Method insert

source/core/StarJson.cpp:783–787  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

781}
782
783Json Json::insert(size_t index, Json value) const {
784 auto array = toArray();
785 array.insertAt(index, std::move(value));
786 return array;
787}
788
789Json Json::append(Json value) const {
790 auto array = toArray();

Callers 2

jsonMergeFunction · 0.45
jsonMergeNullingFunction · 0.45

Calls 1

insertAtMethod · 0.80

Tested by

no test coverage detected