Lines Matching refs:indexJson
145 void GetLocalJsonObject(InternalResource::ResourceId id, std::string language, std::unique_ptr<JsonValue>& indexJson,
148 if (indexJson == nullptr) {
157 indexJson = JsonUtil::ParseJsonString(jsonStr, &endMsg);
158 if (indexJson == nullptr) {
164 if (indexJson->Contains(language) && indexJson->GetValue(language)->IsObject()) {
165 json = indexJson->GetValue(language);
166 } else if (indexJson->Contains(DEFAULT_LANGUAGE) && indexJson->GetValue(DEFAULT_LANGUAGE)->IsObject()) {
167 json = indexJson->GetValue(DEFAULT_LANGUAGE);