diff options
| author | Josh Ferrell <josh@vector35.com> | 2020-08-24 21:58:03 -0400 |
|---|---|---|
| committer | Josh Ferrell <josh@vector35.com> | 2020-10-28 18:53:24 -0400 |
| commit | 106a8a60c4f88cb45e3120544f05fb2ac48e6b28 (patch) | |
| tree | e5a71b6d91bbdfa3f64cdd2cbbd75abd5fe5d24e /rapidjsonwrapper.h | |
| parent | be44532917b2458bb81ba838bce0a0d045957909 (diff) | |
rapidjson serialization
Diffstat (limited to 'rapidjsonwrapper.h')
| -rw-r--r-- | rapidjsonwrapper.h | 4 |
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 |
