Home
last modified time | relevance | path

Searched refs:localeJson (Results 1 – 1 of 1) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/
H A Djsi_engine.cpp719 std::unique_ptr<JsonValue> localeJson = JsonUtil::ParseJsonString(arg->ToString(runtime)); in SetLocale() local
721 if (localeJson) { in SetLocale()
723 …if (localeJson->GetValue(LOCALE_LANGUAGE) != nullptr && localeJson->GetValue(LOCALE_LANGUAGE)->IsS… in SetLocale()
724 language = localeJson->GetValue(LOCALE_LANGUAGE)->GetString(); in SetLocale()
727 if (localeJson->GetValue(LOCALE_COUNTRY_OR_REGION) != nullptr && in SetLocale()
728 localeJson->GetValue(LOCALE_COUNTRY_OR_REGION)->IsString()) { in SetLocale()
729 countryOrRegion = localeJson->GetValue(LOCALE_COUNTRY_OR_REGION)->GetString(); in SetLocale()