------------------------------------------------------------------------------
| 171 | |
| 172 | //------------------------------------------------------------------------------ |
| 173 | bool GetStringValue(const nlohmann::json& root, const std::string& key, std::string& value) |
| 174 | { |
| 175 | auto it = root.find(key); |
| 176 | if (it == root.end() || !it.value().is_string()) |
| 177 | { |
| 178 | return false; |
| 179 | } |
| 180 | value = it.value(); |
| 181 | return true; |
| 182 | } |
| 183 | |
| 184 | //------------------------------------------------------------------------------ |
| 185 | bool CheckVersion(const nlohmann::json& glTFAsset) |
no test coverage detected