#ifndef MEMGRAPH_DATA_MODEL_JSON_STRING_HPP #define MEMGRAPH_DATA_MODEL_JSON_STRING_HPP #include "primitive.hpp" namespace json { class String final : public Primitive { public: String() {} String(const std::string& value) : Primitive(value) {} virtual bool is_string() const; virtual operator std::string() const; }; bool String::is_string() const { return true; } String::operator std::string() const { return "\"" + value + "\""; } } #endif