Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
421
Json elemToJson(JsonElement const& elem) {
422
return elem.get<ValueElement>().value->toJson();
423
}
424
425
FormattedJson::ElementList const& FormattedJson::elements() const {
426
return m_elements;
Callers
1
appendElement
Method · 0.85
Calls
1
toJson
Method · 0.45
Tested by
no test coverage detected