createTicket working, solves #3

This commit is contained in:
odweta
2026-08-16 17:41:56 +02:00
parent 94d743edfc
commit 8ae9cccc69
13 changed files with 127 additions and 34 deletions
+13
View File
@@ -0,0 +1,13 @@
#include <string>
#include <optional>
#include <nlohmann/json.hpp>
#include "ticket.h"
using json = nlohmann::json;
// Deserialize JSON -> class
void from_json(const json& j, ticket_t& t);
// Serialize class
void to_json(json& j, const ticket_t& t);