From b4cf0a2e71ad2c204925b33f9600dc720e25b827 Mon Sep 17 00:00:00 2001
From: Joel Grunbaum <joelgrun@gmail.com>
Date: Sun, 09 Jan 2022 23:22:58 +0000
Subject: [PATCH] Initial shift to rapidjson

---
 main.cpp |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/main.cpp b/main.cpp
index 612f52f..20d1aa9 100644
--- a/main.cpp
+++ b/main.cpp
@@ -1,7 +1,15 @@
 #include "book.hpp"
+#include "json.hpp"
+#include "protocol.hpp"
 #include <chrono>
 
 int main(void)
 {
-    Book b = testBook(10, true);
+    book::Book b = book::testBook(10, true);
+    auto bs = protocol::recoverBook();
+    std::cout << bs.size() << std::endl;
+    for (auto i : bs) {
+        std::cout << i.first << std::endl;
+        i.second.printBook();
+    }
 }

--
Gitblit v1.9.3