summaryrefslogtreecommitdiff
path: root/project2/json/conversion.h
diff options
context:
space:
mode:
Diffstat (limited to 'project2/json/conversion.h')
-rw-r--r--project2/json/conversion.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/project2/json/conversion.h b/project2/json/conversion.h
index 51a8938..0e9d56d 100644
--- a/project2/json/conversion.h
+++ b/project2/json/conversion.h
@@ -2,7 +2,7 @@
#define JSON_CONVERSION_H
#include "variables.h"
-#include "json.h"
+#include "jsonpp.h"
#include <boost/numeric/conversion/cast.hpp>
class ConversionNotSupported { };
@@ -23,6 +23,7 @@ class JsonToProject2 : public boost::static_visitor<VariableType> {
public:
VariableType operator()(const json::Object &) const;
VariableType operator()(const json::Array &) const;
+ VariableType operator()(const json::Null &) const;
template <class Copyable>
VariableType operator()(const Copyable & i) const {
return i;