Searched refs:JSONObject (Results 1 – 3 of 3) sorted by relevance
187 class JSONObject : public JSONValue {189 JSONObject();191 JSONObject(const JSONObject &s) = delete;192 JSONObject &operator=(const JSONObject &s) = delete;196 typedef std::shared_ptr<JSONObject> SP;223 ~JSONObject() override = default;
110 JSONObject::JSONObject() : JSONValue(JSONValue::Kind::Object) {} in JSONObject() function in JSONObject112 void JSONObject::Write(std::ostream &s) { in Write()130 bool JSONObject::SetObject(const std::string &key, JSONValue::SP value) { in SetObject()137 JSONValue::SP JSONObject::GetObject(const std::string &key) const { in GetObject()144 bool JSONObject::GetObjectAsBool(const std::string &key, bool &value) const { in GetObjectAsBool()165 bool JSONObject::GetObjectAsString(const std::string &key, in GetObjectAsString()480 std::unique_ptr<JSONObject> dict_up(new JSONObject()); in ParseJSONObject()
55 ParseAndTestJSON<JSONObject>( in TEST()56 "{ \"key1\": 4, \"key2\": \"foobar\" }", [](JSONObject &obj_val) { in TEST()