| 132 | } |
| 133 | |
| 134 | IJsonHandler* JsonObjectJsonHandler::doneElement() { |
| 135 | CesiumUtility::JsonValue& current = *this->_stack.back(); |
| 136 | CesiumUtility::JsonValue::Array* pArray = |
| 137 | std::get_if<CesiumUtility::JsonValue::Array>(¤t.value); |
| 138 | if (!pArray) { |
| 139 | this->_stack.pop_back(); |
| 140 | return this->_stack.empty() ? this->parent() : this; |
| 141 | } |
| 142 | return this; |
| 143 | } |
| 144 | } // namespace CesiumJsonReader |
no test coverage detected