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

Method optString

source/core/StarJson.cpp:300–304  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

298}
299
300Maybe<String> Json::optString() const {
301 if (isNull())
302 return {};
303 return toString();
304}
305
306Maybe<JsonArray> Json::optArray() const {
307 if (isNull())

Callers 15

jsonToNodeParameterFunction · 0.80
behaviorNodeMethod · 0.80
HumanoidIdentityMethod · 0.80
nameMethod · 0.80
descriptionMethod · 0.80
SpawnParametersMethod · 0.80
VehicleMethod · 0.80
LiquidsDatabaseMethod · 0.80
parseMissionMethod · 0.80
questParamDetailFromJsonFunction · 0.80
fromJsonMethod · 0.80

Calls 3

toStringFunction · 0.85
ptrFunction · 0.85
toStringMethod · 0.45

Tested by

no test coverage detected