aboutsummaryrefslogtreecommitdiff
path: root/src/main/input-output/input/json-parsing/json_helper.h
diff options
context:
space:
mode:
authorCharlie Blake2018-01-09 08:58:30 +0000
committerGitHub2018-01-09 08:58:30 +0000
commit93bfbeec309b027331f75d10864c99f19a958cfd (patch)
tree5ad08a4621dbc118480553d53666e3e507ce584e /src/main/input-output/input/json-parsing/json_helper.h
parentMerge pull request #27 from thecharlesblake/efficient-implementation (diff)
parentAdd spider to benchmark script (diff)
downloadmetasol-93bfbeec309b027331f75d10864c99f19a958cfd.tar.gz
metasol-93bfbeec309b027331f75d10864c99f19a958cfd.zip

Merge pull request #28 from thecharlesblake/all-canonical-games

All canonical games

Diffstat (limited to 'src/main/input-output/input/json-parsing/json_helper.h')
-rw-r--r--src/main/input-output/input/json-parsing/json_helper.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/main/input-output/input/json-parsing/json_helper.h b/src/main/input-output/input/json-parsing/json_helper.h
new file mode 100644
index 0000000..5ab24bc
--- /dev/null
+++ b/src/main/input-output/input/json-parsing/json_helper.h
@@ -0,0 +1,19 @@
+//
+// Created by thecharlesblake on 11/13/17.
+//
+
+#ifndef SOLVITAIRE_UTIL_H
+#define SOLVITAIRE_UTIL_H
+
+#include <string>
+
+#include <rapidjson/schema.h>
+
+class json_helper {
+public:
+ static rapidjson::Document get_file_json(const std::string&);
+ static void json_parse_err(const std::string& msg);
+};
+
+
+#endif //SOLVITAIRE_UTIL_H