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

Function jsonFromStringList

source/core/StarJsonExtra.cpp:300–305  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

298}
299
300Json jsonFromStringList(List<String> const& v) {
301 JsonArray result;
302 for (auto& e : v)
303 result.push_back(e);
304 return result;
305}
306
307List<float> jsonToFloatList(Json const& v) {
308 List<float> result;

Callers 9

toJsonMethod · 0.85
toJsonMethod · 0.85
toJsonMethod · 0.85
storeMethod · 0.85
chooseSkillsMethod · 0.85
toJsonMethod · 0.85
storeMethod · 0.85
handleCommandMethod · 0.85
toJsonMethod · 0.85

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected