Reverting to rapidjson for attempt record serialization

This commit is contained in:
Ian Roddis
2022-02-16 10:06:48 -04:00
parent 71756d9ec2
commit 3866332e77
4 changed files with 5 additions and 2 deletions

View File

@@ -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)

View File

@@ -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 ""

View File

@@ -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 ""
)

View File

@@ -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)
{