createTicket working, solves #3
This commit is contained in:
@@ -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);
|
||||
Reference in New Issue
Block a user