-#ifndef JSON_FORMATTER_HPP
-#define JSON_FORMATTER_HPP
+#ifndef GDE_JSON_FORMATTER_HPP
+#define GDE_JSON_FORMATTER_HPP
#include <string>
#include <Poco/JSON/Object.h>
+#include <Poco/Timestamp.h>
namespace gde {
public:
static Poco::JSON::Object::Ptr parse(const std::string&);
+
template <typename T> static T extract(Poco::JSON::Object::Ptr, const std::string&);
+ static Poco::Timestamp extract(Poco::JSON::Object::Ptr, const std::string&);
static std::string stringify(const Poco::JSON::Object&);
};