#ifndef MEMGRAPH_DATA_MODEL_JSON_INTEGRAL_HPP #define MEMGRAPH_DATA_MODEL_JSON_INTEGRAL_HPP #include "primitive.hpp" namespace json { class Integral final : public Primitive { public: Integral() {} Integral(int64_t value) : Primitive(value) {} virtual bool is_integral() const; virtual operator std::string() const; }; bool Integral::is_integral() const { return true; } Integral::operator std::string() const { return std::to_string(value); } } #endif