SpiecsEngine
 
Loading...
Searching...
No Matches

◆ GetElementString()

std::string Spices::GltfHelper::GetElementString ( const Json::object_t & root,
const char * path,
const std::string & pDefault )
static

Get string value in Json::object_t.

Parameters
[in]rootjson object.
[in]pathtype name.
[in]pDefaultdefault return value. return Returns value if found or default if not.

Definition at line 199 of file GltfHelper.cpp.

200 {
202
203 return GetElement<std::string>(&root, path, pDefault);
204 }
#define SPICES_PROFILE_ZONE