summaryrefslogtreecommitdiff
path: root/rapidjsonwrapper.h
diff options
context:
space:
mode:
authorJosh Ferrell <josh@vector35.com>2020-08-24 21:58:03 -0400
committerJosh Ferrell <josh@vector35.com>2020-10-28 18:53:24 -0400
commit106a8a60c4f88cb45e3120544f05fb2ac48e6b28 (patch)
treee5a71b6d91bbdfa3f64cdd2cbbd75abd5fe5d24e /rapidjsonwrapper.h
parentbe44532917b2458bb81ba838bce0a0d045957909 (diff)
rapidjson serialization
Diffstat (limited to 'rapidjsonwrapper.h')
-rw-r--r--rapidjsonwrapper.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/rapidjsonwrapper.h b/rapidjsonwrapper.h
index 1ff02e7e..ac418807 100644
--- a/rapidjsonwrapper.h
+++ b/rapidjsonwrapper.h
@@ -20,7 +20,7 @@ struct GenericException: public std::exception
}
};
-#define RAPIDJSON_HAS_STDSTRING 1
+#define RAPIDJSON_HAS_STDSTRING 0
#define RAPIDJSON_HAS_CXX11_NOEXCEPT 0
#define RAPIDJSON_ASSERT(x) do {if (!(x)) throw GenericException(); } while(0);
#define RAPIDJSON_PARSE_ERROR_NORETURN(parseErrorCode,offset) \
@@ -35,6 +35,8 @@ struct ParseException: public std::runtime_error, rapidjson::ParseResult
#include "rapidjson/rapidjson.h"
#include "rapidjson/document.h"
+#include "rapidjson/stringbuffer.h"
+#include "rapidjson/writer.h"
#if defined(__GNUC__) && __GNUC__ >= 8
#pragma GCC diagnostic pop