Lines Matching defs:Value
29 class Value {
31 Value() = default;
32 explicit Value(cJSON* object);
33 Value(cJSON* object, bool isRoot);
34 ~Value();
36 Value operator[](const char* key);
37 const Value operator[](const char* key) const;
38 Value operator[](const std::string& key);
39 const Value operator[](const std::string& key) const;
42 Value::Members GetMemberNames() const;
69 Value GetValue(const char* key) const;
84 bool Add(const char* key, const Value& value);
92 bool Add(const Value& value);
100 bool Replace(const char* key, const Value& value);
108 bool Replace(int index, const Value& value);
111 Value GetArrayItem(int32_t index) const;
125 static Json2::Value ParseJsonData2(const std::string& jsonStr);
127 static Json2::Value CreateObject();
128 static Json2::Value CreateArray();
129 static Json2::Value CreateBool(const bool value);
130 static Json2::Value CreateString(const std::string& value);
131 static Json2::Value DepthCopy(const Json2::Value& value);
132 static Json2::Value CreateNull();