Home
last modified time | relevance | path

Searched refs:jsonType (Results 1 - 10 of 10) sorted by relevance

/foundation/CastEngine/castengine_cast_framework/service/src/session/src/stream/include/
H A Dcast_stream_common.h38 #define RETURN_IF_PARSE_WRONG(value, data, key, ret, jsonType) \
40 if (!(data).contains(key) || !(data)[key].is_##jsonType()) { \
/foundation/CastEngine/castengine_cast_plus_stream/src/stream/include/
H A Dcast_stream_common.h38 #define RETURN_IF_PARSE_WRONG(value, data, key, ret, jsonType) \
40 if (!(data).contains(key) || !(data)[key].is_##jsonType()) { \
/foundation/ability/ability_runtime/services/abilitymgr/src/
H A Dinner_mission_info.cpp168 bool InnerMissionInfo::CheckJsonNode(nlohmann::json &value, const std::string &node, JsonType jsonType) in CheckJsonNode() argument
175 if (jsonType == JsonType::NUMBER) { in CheckJsonNode()
178 if (jsonType == JsonType::STRING) { in CheckJsonNode()
181 if (jsonType == JsonType::BOOLEAN) { in CheckJsonNode()
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/include/
H A Djson_util.h111 const std::string &key, dataType &data, JsonType jsonType, bool isNecessary, int32_t &parseResult, in GetValueIfFindKey()
118 switch (jsonType) { in GetValueIfFindKey()
147 APP_LOGE("type error %{public}s not jsonType", key.c_str()); in GetValueIfFindKey()
186 JsonType jsonType, bool isNecessary, int32_t &parseResult, ArrayType arrayType) in GetBigStringIfFindKey()
192 switch (jsonType) { in GetBigStringIfFindKey()
202 APP_LOGE("type error %{public}s not jsonType", key.c_str()); in GetBigStringIfFindKey()
110 GetValueIfFindKey(const nlohmann::json &jsonObject, const nlohmann::detail::iter_impl<const nlohmann::json> &end, const std::string &key, dataType &data, JsonType jsonType, bool isNecessary, int32_t &parseResult, ArrayType arrayType) GetValueIfFindKey() argument
184 GetBigStringIfFindKey(const nlohmann::json &jsonObject, const nlohmann::detail::iter_impl<const nlohmann::json> &end, const std::string &key, dataType &data, JsonType jsonType, bool isNecessary, int32_t &parseResult, ArrayType arrayType) GetBigStringIfFindKey() argument
/foundation/ability/ability_runtime/test/fuzztest/abilitymgrrest_fuzzer/
H A Dabilitymgrrest_fuzzer.cpp70 JsonType jsonType = JsonType::STRING; in DoSomethingInterestingWithMyAPI() local
71 return innerMissionInfo.CheckJsonNode(value, node, jsonType); in DoSomethingInterestingWithMyAPI()
/foundation/ability/ability_runtime/services/abilitymgr/include/
H A Dinner_mission_info.h58 bool CheckJsonNode(nlohmann::json &value, const std::string &node, JsonType jsonType);
/foundation/ability/dmsfwk/services/dtbschedmgr/include/mission/
H A Djson_util.h99 const std::string &key, dataType &data, JsonType jsonType, bool isNecessary, int32_t &parseResult, in GetValueIfFindKey()
106 switch (jsonType) { in GetValueIfFindKey()
154 HILOG_DEBUG("type is error %{public}s is not jsonType", key.c_str()); in GetValueIfFindKey()
98 GetValueIfFindKey(const nlohmann::json &jsonObject, const nlohmann::detail::iter_impl<const nlohmann::json> &end, const std::string &key, dataType &data, JsonType jsonType, bool isNecessary, int32_t &parseResult, ArrayType arrayType) GetValueIfFindKey() argument
/foundation/ability/form_fwk/services/include/
H A Djson_util_form.h98 const std::string &key, dataType &data, JsonType jsonType, bool isNecessary, int32_t &parseResult, in GetValueIfFindKey()
105 switch (jsonType) { in GetValueIfFindKey()
150 HILOG_ERROR("type is error %{public}s not jsonType", key.c_str()); in GetValueIfFindKey()
97 GetValueIfFindKey(const nlohmann::json &jsonObject, const nlohmann::detail::iter_impl<const nlohmann::json> &end, const std::string &key, dataType &data, JsonType jsonType, bool isNecessary, int32_t &parseResult, ArrayType arrayType) GetValueIfFindKey() argument
/foundation/ability/dmsfwk/services/dtbschedmgr/include/
H A Djson_util.h100 const std::string &key, dataType &data, JsonType jsonType, bool isNecessary, int32_t &parseResult, in GetValueIfFindKey()
107 switch (jsonType) { in GetValueIfFindKey()
152 HILOGE("type is error %{public}s is not jsonType", key.c_str()); in GetValueIfFindKey()
99 GetValueIfFindKey(const nlohmann::json &jsonObject, const nlohmann::detail::iter_impl<const nlohmann::json> &end, const std::string &key, dataType &data, JsonType jsonType, bool isNecessary, int32_t &parseResult, ArrayType arrayType) GetValueIfFindKey() argument
/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/include/bundle_parser/
H A Djson_util.h102 const std::string &key, dataType &data, JsonType jsonType, bool isNecessary, int32_t &parseResult, in GetValueIfFindKey()
109 switch (jsonType) { in GetValueIfFindKey()
157 TAG_LOGD(AAFwkTag::ABILITY_SIM, "type:%{public}s not jsonType", key.c_str()); in GetValueIfFindKey()
101 GetValueIfFindKey(const nlohmann::json &jsonObject, const nlohmann::detail::iter_impl<const nlohmann::json> &end, const std::string &key, dataType &data, JsonType jsonType, bool isNecessary, int32_t &parseResult, ArrayType arrayType) GetValueIfFindKey() argument

Completed in 4 milliseconds