Reverting to rapidjson for attempt record serialization
This commit is contained in:
@@ -2,6 +2,7 @@ Include(FetchContent)
|
||||
|
||||
FetchContent_Declare(
|
||||
Catch2
|
||||
GIT_SHALLOW TRUE
|
||||
GIT_REPOSITORY https://github.com/catchorg/Catch2.git
|
||||
GIT_TAG v2.13.7)
|
||||
FetchContent_MakeAvailable(Catch2)
|
||||
|
||||
@@ -8,6 +8,7 @@ ExternalProject_Add(hiredisDownload
|
||||
PREFIX ${hiredis_root}
|
||||
GIT_REPOSITORY https://github.com/redis/hiredis.git
|
||||
GIT_TAG "v1.0.1"
|
||||
GIT_SHALLOW TRUE
|
||||
CONFIGURE_COMMAND ""
|
||||
BUILD_IN_SOURCE ON
|
||||
INSTALL_COMMAND ""
|
||||
|
||||
@@ -10,6 +10,7 @@ ExternalProject_Add(PistacheDownload
|
||||
PREFIX ${pistache_root}
|
||||
GIT_REPOSITORY https://github.com/pistacheio/pistache.git
|
||||
GIT_TAG master
|
||||
GIT_SHALLOW TRUE
|
||||
INSTALL_COMMAND ""
|
||||
)
|
||||
|
||||
|
||||
@@ -326,6 +326,7 @@ namespace daggy {
|
||||
return output;
|
||||
}
|
||||
|
||||
/*
|
||||
std::string attemptRecordToJSON(const AttemptRecord &record)
|
||||
{
|
||||
std::stringstream ss;
|
||||
@@ -341,8 +342,8 @@ namespace daggy {
|
||||
|
||||
return ss.str();
|
||||
}
|
||||
*/
|
||||
|
||||
/*
|
||||
std::string attemptRecordToJSON(const AttemptRecord &record) {
|
||||
rj::Document doc;
|
||||
doc.SetObject();
|
||||
@@ -377,7 +378,6 @@ namespace daggy {
|
||||
alloc);
|
||||
return dumpJSON(doc);
|
||||
}
|
||||
*/
|
||||
|
||||
AttemptRecord attemptRecordFromJSON(const std::string &json)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user