Files

13 lines
253 B
C++

#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);