Searched refs:JSONTrue (Results 1 – 3 of 3) sorted by relevance
133 class JSONTrue : public JSONValue {135 JSONTrue();137 JSONTrue(const JSONTrue &s) = delete;138 JSONTrue &operator=(const JSONTrue &s) = delete;142 typedef std::shared_ptr<JSONTrue> SP;148 ~JSONTrue() override = default;
98 JSONTrue::JSONTrue() : JSONValue(JSONValue::Kind::True) {} in JSONTrue() function in JSONTrue100 void JSONTrue::Write(std::ostream &s) { s << "true"; } in Write()151 if (JSONTrue::classof(value_sp.get())) { in GetObjectAsBool()578 return JSONValue::SP(new JSONTrue()); in ParseJSONValue()
52 ParseAndTestJSON<JSONTrue>("true"); in TEST()