Home
last modified time | relevance | path

Searched refs:JSONObject (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/lldb/tools/debugserver/source/
H A DJSON.h187 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;
H A DJSON.cpp110 JSONObject::JSONObject() : JSONValue(JSONValue::Kind::Object) {} in JSONObject() function in JSONObject
112 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()
/llvm-project-15.0.7/lldb/unittests/debugserver/
H A DJSONTest.cpp55 ParseAndTestJSON<JSONObject>( in TEST()
56 "{ \"key1\": 4, \"key2\": \"foobar\" }", [](JSONObject &obj_val) { in TEST()