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

Function elemToJson

source/core/StarFormattedJson.cpp:421–423  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

419}
420
421Json elemToJson(JsonElement const& elem) {
422 return elem.get<ValueElement>().value->toJson();
423}
424
425FormattedJson::ElementList const& FormattedJson::elements() const {
426 return m_elements;

Callers 1

appendElementMethod · 0.85

Calls 1

toJsonMethod · 0.45

Tested by

no test coverage detected