Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenStarbound/OpenStarbound
/ optObject
Method
optObject
source/core/StarJson.cpp:312–316 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
310
}
311
312
Maybe<JsonObject> Json::optObject() const {
313
if (isNull())
314
return {};
315
return toObject();
316
}
317
318
size_t Json::size() const {
319
if (type() == Type::Array)
Callers
6
initWorld
Method · 0.80
PlayerConfig
Method · 0.80
readCommonParameters
Method · 0.80
PlayerUniverseMap
Method · 0.80
displayConfirmation
Method · 0.80
addChatActions
Method · 0.80
Calls
2
ptr
Function · 0.85
toObject
Method · 0.80
Tested by
no test coverage detected