From 2ab51e507d620c4479e07ca0ec47d22c8c66bc90 Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 13 Apr 2021 15:14:34 -0400 Subject: Initial commit --- src/jsonable.h | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/jsonable.h (limited to 'src/jsonable.h') diff --git a/src/jsonable.h b/src/jsonable.h new file mode 100644 index 0000000..87f3f66 --- /dev/null +++ b/src/jsonable.h @@ -0,0 +1,7 @@ +#pragma once +#include "json.hpp" + +class Jsonable { + public: + virtual nlohmann::json toJson(void) const = 0; +}; -- cgit v1.2.3