diff options
Diffstat (limited to 'src/jsonable.h')
-rw-r--r-- | src/jsonable.h | 7 |
1 files changed, 7 insertions, 0 deletions
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; +}; |