MCPcopy 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
312Maybe<JsonObject> Json::optObject() const {
313 if (isNull())
314 return {};
315 return toObject();
316}
317
318size_t Json::size() const {
319 if (type() == Type::Array)

Callers 6

initWorldMethod · 0.80
PlayerConfigMethod · 0.80
readCommonParametersMethod · 0.80
PlayerUniverseMapMethod · 0.80
displayConfirmationMethod · 0.80
addChatActionsMethod · 0.80

Calls 2

ptrFunction · 0.85
toObjectMethod · 0.80

Tested by

no test coverage detected