diff options
| author | Charlie Blake | 2017-12-28 10:10:46 +0000 |
|---|---|---|
| committer | GitHub | 2017-12-28 10:10:46 +0000 |
| commit | c6275f508b1ff142a1085ebda8ae9276ea7611c4 (patch) | |
| tree | 26b9855cf4a9ec808dae99b378fbbcfa7af4315f /src/main/util/util.h | |
| parent | Merge pull request #25 from thecharlesblake/docs (diff) | |
| parent | Added fc tests - currently intract. (diff) | |
| download | metasol-c6275f508b1ff142a1085ebda8ae9276ea7611c4.tar.gz metasol-c6275f508b1ff142a1085ebda8ae9276ea7611c4.zip | |
Merge pull request #26 from thecharlesblake/deal-description-and-test
Deal description and test
Diffstat (limited to 'src/main/util/util.h')
| -rw-r--r-- | src/main/util/util.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main/util/util.h b/src/main/util/util.h index 1721daa..de2a94d 100644 --- a/src/main/util/util.h +++ b/src/main/util/util.h @@ -7,11 +7,12 @@ #include <string> -#include <boost/optional.hpp> +#include <rapidjson/schema.h> class util { public: - static const boost::optional<std::string> read_file(const std::string&); + static rapidjson::Document get_file_json(const std::string&); + static void json_parse_err(const std::string& msg); }; |
