Made pretty json output as default during development since it's easier on text rendering
This commit is contained in:
parent
963fc1ae4c
commit
77b0e9d81e
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
#include <rapidjson/filewritestream.h>
|
#include <rapidjson/filewritestream.h>
|
||||||
#include <rapidjson/filereadstream.h>
|
#include <rapidjson/filereadstream.h>
|
||||||
#include <rapidjson/writer.h>
|
#include <rapidjson/prettywriter.h>
|
||||||
#include <rapidjson/document.h>
|
#include <rapidjson/document.h>
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
@ -48,7 +48,7 @@ namespace base
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
rapidjson::FileWriteStream m_fileStream;
|
rapidjson::FileWriteStream m_fileStream;
|
||||||
rapidjson::Writer<rapidjson::FileWriteStream, rapidjson::ASCII<>> m_writer;
|
rapidjson::PrettyWriter<rapidjson::FileWriteStream, rapidjson::ASCII<>> m_writer;
|
||||||
FILE* m_fp;
|
FILE* m_fp;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user