kima2/src/core/jsonutil.h

17 lines
467 B
C++

#ifndef JSON_H
#define JSON_H
#include "marketplace.h"
#include <string>
class JsonUtil
{
public:
static void exportSellers(const std::string& filename, Marketplace* market);
static void importSellers(const std::string& filename, Marketplace* market);
static void exportSales(const std::string& filename, Marketplace* market, int cashPointNo);
static void importSales(const std::string& filename, Marketplace* market, int cashPointNo);
};
#endif