Searched refs:StringT (Results 1 – 3 of 3) sorted by relevance
/arkcompiler/runtime_core/libpandabase/tests/ |
D | json_parser_test.cpp | 40 ASSERT_EQ(obj.GetValue<JsonObject::StringT>("key_2"), nullptr); 64 ASSERT_NE(main_array[0].Get<JsonObject::StringT>(), nullptr); 65 ASSERT_EQ(*main_array[0].Get<JsonObject::StringT>(), "elem0"); 71 ASSERT_NE(inner_array[0].Get<JsonObject::StringT>(), nullptr); 72 ASSERT_EQ(*inner_array[0].Get<JsonObject::StringT>(), "elem1.0"); 74 ASSERT_NE(inner_array[1].Get<JsonObject::StringT>(), nullptr); 75 ASSERT_EQ(*inner_array[1].Get<JsonObject::StringT>(), "elem1.1"); 78 ASSERT_NE(main_array[2].Get<JsonObject::StringT>(), nullptr); 79 ASSERT_EQ(*main_array[2].Get<JsonObject::StringT>(), "elem2"); 109 ASSERT_NE(obj.GetValue<JsonObject::StringT>("key_0"), nullptr); [all …]
|
/arkcompiler/runtime_core/libpandabase/utils/ |
D | json_parser.h | 35 using StringT = std::string; variable 39 using Key = StringT; 77 std::variant<std::monostate, StringT, NumT, BoolT, ArrayT, JsonObjPointer> value_; 114 StringT string_temp_; 160 const StringT *GetValueSourceString(const Key &key) const in GetValueSourceString() 186 std::unordered_map<Key, StringT> string_map_;
|
D | json_parser.cpp | 92 ASSERT(parsed_temp_.Get<StringT>() != nullptr); in InsertKeyValuePairIn() 93 Key key(std::move(*parsed_temp_.Get<StringT>())); in InsertKeyValuePairIn()
|