aboutsummaryrefslogtreecommitdiff
path: root/src/main/input-output/json_helper.h
diff options
context:
space:
mode:
authorthecharlesblake2018-01-03 12:39:06 +0000
committerthecharlesblake2018-01-03 12:39:06 +0000
commitfa40f6facc5c500cae8bf890e66a7bf5d490387e (patch)
tree9b3202e433e5151a38f78084ee843b20edec4f89 /src/main/input-output/json_helper.h
parentMajor refactor, putting pile logic into game_state (diff)
downloadmetasol-fa40f6facc5c500cae8bf890e66a7bf5d490387e.tar.gz
metasol-fa40f6facc5c500cae8bf890e66a7bf5d490387e.zip

Rename util to json_helper

Diffstat (limited to 'src/main/input-output/json_helper.h')
-rw-r--r--src/main/input-output/json_helper.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/main/input-output/json_helper.h b/src/main/input-output/json_helper.h
new file mode 100644
index 0000000..5ab24bc
--- /dev/null
+++ b/src/main/input-output/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