Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenStarbound/OpenStarbound
/ optArray
Method
optArray
source/core/StarJson.cpp:306–310 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
304
}
305
306
Maybe<JsonArray> Json::optArray() const {
307
if (isNull())
308
return {};
309
return toArray();
310
}
311
312
Maybe<JsonObject> Json::optObject() const {
313
if (isNull())
Callers
13
SpawnParameters
Method · 0.80
biomeWeathers
Method · 0.80
biomeSkyColoring
Method · 0.80
jsonToSystemLocation
Function · 0.80
TMXObject
Method · 0.80
Monster
Method · 0.80
generateFloatingDungeonWorldParameters
Function · 0.80
checkInventoryFilter
Method · 0.80
mergeFinalParameters
Method · 0.80
CraftingPane
Method · 0.80
buildItemList
Method · 0.80
Assets
Method · 0.80
Calls
2
ptr
Function · 0.85
toArray
Method · 0.80
Tested by
no test coverage detected