MCPcopy Create free account
hub / github.com/catboost/catboost / GetStringSafe

Method GetStringSafe

library/cpp/json/writer/json_value.cpp:486–491  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

484 }
485
486 TString TJsonValue::GetStringSafe(const TString& defaultValue) const {
487 if (Type == JSON_UNDEFINED) {
488 return defaultValue;
489 }
490 return GetStringSafe();
491 }
492
493 const TJsonValue::TMapType& TJsonValue::GetMapSafe() const {
494 if (Type != JSON_MAP) {

Callers 15

FromJsonStringMethod · 0.45
DecodeMethod · 0.45
ReInitializeMethod · 0.45
AreJsonValuesDifferentFunction · 0.45
CopyCtrDescriptionFunction · 0.45
PlainJsonToOptionsMethod · 0.45
CleanPlainJsonMethod · 0.45
ReadMethod · 0.45
ReadLossFunctionFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected