Home
last modified time | relevance | path

Searched refs:rootJson (Results 1 - 11 of 11) sorted by relevance

/foundation/arkui/ace_engine/frameworks/bridge/common/manifest/
H A Dmanifest_parser.cpp49 auto rootJson = JsonUtil::ParseJsonString(contents); in Parse() local
50 if (!rootJson || !rootJson->IsValid()) { in Parse()
53 manifestAppInfo_->AppInfoParse(rootJson); in Parse()
54 manifestRouter_->RouterParse(rootJson); in Parse()
55 manifestWidget_->WidgetParse(rootJson); in Parse()
56 manifestWindow_->WindowParse(rootJson); in Parse()
57 webFeature_ = rootJson->GetBool("webFeature", false); in Parse()
58 auto deviceTypes = rootJson->GetValue("deviceType"); in Parse()
/foundation/arkui/ace_engine/adapter/preview/external/ability/stage/
H A Dstage_context.cpp26 auto rootJson = JsonUtil::ParseJsonString(contents); in Parse() local
27 if (!rootJson || !rootJson->IsValid()) { in Parse()
31 appInfo_->Parse(rootJson->GetValue("app")); in Parse()
32 hapModuleInfo_->Parse(rootJson->GetValue("module")); in Parse()
/foundation/arkui/ace_engine/adapter/preview/external/ability/fa/
H A Dfa_context.cpp25 auto rootJson = JsonUtil::ParseJsonString(contents); in Parse() local
26 if (!rootJson || !rootJson->IsValid()) { in Parse()
30 appInfo_->Parse(rootJson->GetValue("app")); in Parse()
31 hapModuleInfo_->Parse(rootJson->GetValue("module")); in Parse()
/foundation/arkui/ace_engine/frameworks/bridge/card_frontend/
H A Djs_card_parser.h39 void CreateDomNode(const RefPtr<Framework::JsAcePage>& page, const std::unique_ptr<JsonValue>& rootJson, in CreateDomNode() argument
42 CreateDomNode(page, rootJson, parentId, dataJson_, eventJson_, styleJson_, nullptr, isNewNode); in CreateDomNode()
44 void ParseAttributes(const std::unique_ptr<JsonValue>& rootJson, int32_t nodeId, in ParseAttributes() argument
47 ParseAttributes(rootJson, nodeId, attrs, command, dataJson_, nullptr); in ParseAttributes()
49 void ParseEvents(const std::unique_ptr<JsonValue>& rootJson, std::vector<std::string>& events, in ParseEvents() argument
52 ParseEvents(rootJson, eventJson_, events, page, nodeId); in ParseEvents()
54 void UpdateDomNode(const RefPtr<Framework::JsAcePage>& page, const std::unique_ptr<JsonValue>& rootJson, in UpdateDomNode() argument
57 UpdateDomNode(page, rootJson, parentId, idArray, dataJson_, styleJson_, nullptr); in UpdateDomNode()
67 void ParseStyles(const std::unique_ptr<JsonValue>& rootJson, int32_t nodeId, in ParseStyles() argument
70 ParseStyles(rootJson, nodeI in ParseStyles()
190 GetBoolValue(const std::unique_ptr<JsonValue>& rootJson, const std::string& key, bool& value, bool& hasAttr) GetBoolValue() argument
[all...]
H A Djs_card_parser.cpp612 void JsCardParser::ParseAttributes(const std::unique_ptr<JsonValue>& rootJson, int32_t nodeId, in ParseAttributes() argument
616 auto attrList = rootJson->GetValue("attr"); in ParseAttributes()
881 void JsCardParser::ParseStyles(const std::unique_ptr<JsonValue>& rootJson, int32_t nodeId, in ParseStyles() argument
885 auto classList = rootJson->GetValue("classList"); in ParseStyles()
901 if (rootJson->Contains("id")) { in ParseStyles()
902 auto value = rootJson->GetValue("id")->GetString(); in ParseStyles()
912 ParseInlineStyles(rootJson, styles); in ParseStyles()
916 const std::unique_ptr<JsonValue>& rootJson, std::vector<std::pair<std::string, std::string>>& styles) in ParseInlineStyles()
918 auto styleList = rootJson->GetValue("style"); in ParseInlineStyles()
1000 void JsCardParser::PreUpdateMethodToAction(const std::unique_ptr<JsonValue>& rootJson) in PreUpdateMethodToAction() argument
915 ParseInlineStyles( const std::unique_ptr<JsonValue>& rootJson, std::vector<std::pair<std::string, std::string>>& styles) ParseInlineStyles() argument
1018 ParseEvents(const std::unique_ptr<JsonValue>& rootJson, const std::unique_ptr<JsonValue>& eventJson, std::vector<std::string>& events, const RefPtr<Framework::JsAcePage>& page, int32_t nodeId) ParseEvents() argument
1255 UpdateDomNode(const RefPtr<Framework::JsAcePage>& page, const std::unique_ptr<JsonValue>& rootJson, int32_t parentId, const std::vector<int>& idArray, const std::unique_ptr<JsonValue>& dataJson, const std::unique_ptr<JsonValue>& styleJson, const std::unique_ptr<JsonValue>& propsJson) UpdateDomNode() argument
1633 CreateDomNode(const RefPtr<Framework::JsAcePage>& page, const std::unique_ptr<JsonValue>& rootJson, int32_t parentId, const std::unique_ptr<JsonValue>& dataJson, const std::unique_ptr<JsonValue>& actionJson, const std::unique_ptr<JsonValue>& styleJson, const std::unique_ptr<JsonValue>& propsJson, bool isNewNode) CreateDomNode() argument
1727 CreateRepeatDomNode( const RefPtr<Framework::JsAcePage>& page, const std::unique_ptr<JsonValue>& rootJson, int32_t parentId) CreateRepeatDomNode() argument
1850 ProcessRepeatNode(const RefPtr<Framework::JsAcePage>& page, const std::unique_ptr<JsonValue>& rootJson, const std::string& key, int32_t parentId, bool hasKeyValue, std::unique_ptr<JsonValue>& repeatValue) ProcessRepeatNode() argument
1918 GetShownAttr(const std::unique_ptr<JsonValue>& rootJson, const std::unique_ptr<JsonValue>& dataJson, const std::unique_ptr<JsonValue>& propsJson, bool& shouldShow, bool& hasShownAttr) GetShownAttr() argument
1996 CreateBlockNode(const OHOS::Ace::RefPtr<OHOS::Ace::Framework::JsAcePage>& page, const std::unique_ptr<JsonValue>& rootJson, int32_t parentId) CreateBlockNode() argument
2019 GetBoolValue(const std::unique_ptr<JsonValue>& rootJson, const std::unique_ptr<JsonValue>& dataJson, const std::unique_ptr<JsonValue>& propsJson, const std::string& key, bool& value, bool& hasAttr) GetBoolValue() argument
[all...]
/foundation/arkui/ace_engine/adapter/ohos/osal/
H A Dthp_extra_manager_impl.cpp57 auto rootJson = JsonUtil::ParseJsonString(jsonStr); in Init() local
58 if (!rootJson || !rootJson->IsValid()) { in Init()
61 auto hotzone = rootJson->GetObject("hotzone"); in Init()
/foundation/arkui/ace_engine/adapter/preview/osal/
H A Dstage_card_parser.cpp26 auto rootJson = JsonUtil::ParseJsonString(contents); in Parse() local
27 if (!rootJson || !rootJson->IsValid()) { in Parse()
32 auto formConfigs = rootJson->GetValue("forms"); in Parse()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dbundle_state_storage.cpp161 nlohmann::json rootJson; in SaveBundleStateStorage() local
164 rootJson = jParse; in SaveBundleStateStorage()
169 rootJson[appName] = bundleUserInfo; in SaveBundleStateStorage()
170 bool isEmpty = (rootJson.size() == 0) ? true : false; in SaveBundleStateStorage()
177 o << std::setw(Constants::DUMP_INDENT) << rootJson; in SaveBundleStateStorage()
/foundation/arkui/ace_engine/frameworks/core/components/plugin/
H A Dplugin_component_manager.cpp258 auto rootJson = JsonUtil::ParseJsonString(jsonString); in GetTemplatePathFromJsonFile() local
259 if (rootJson) { in GetTemplatePathFromJsonFile()
260 jsonStr = rootJson->GetString(pluginName); in GetTemplatePathFromJsonFile()
/foundation/arkui/ace_engine/frameworks/core/components/theme/
H A Dtheme_constants.cpp499 auto rootJson = JsonUtil::ParseJsonString(content); in ParseCustomStyle() local
500 auto rootNode = rootJson->GetObject(CUSTOM_STYLE_ROOT_NAME); in ParseCustomStyle()
/foundation/arkui/ace_engine/adapter/ohos/entrance/
H A Dace_ability.cpp86 auto rootJson = JsonUtil::ParseJsonString(jsonStr); in GetFrontendTypeFromManifest() local
87 if (rootJson == nullptr) { in GetFrontendTypeFromManifest()
90 auto mode = rootJson->GetObject("mode"); in GetFrontendTypeFromManifest()
96 return GetFrontendType(rootJson->GetString("type")); in GetFrontendTypeFromManifest()

Completed in 10 milliseconds