memgraph/storage/model/json/null.hpp
2015-12-07 21:51:55 +01:00

28 lines
309 B
C++

#pragma once
#include "json.hpp"
namespace json {
class Null final : public Json
{
public:
Null() {}
virtual bool is_null() const;
virtual operator std::string() const;
};
bool Null::is_null() const
{
return true;
}
Null::operator std::string() const
{
return "null";
}
}