fastinahurry/include/readers/JSONReader.hh
2025-07-27 21:47:49 -06:00

17 lines
351 B
C++

#pragma once
// C++ Includes
#include <queue>
#include <string>
#include <memory>
// Third Party Includes
#include "trading.pb.h"
#include <nlohmann/json.hpp>
namespace readers::json {
using JSON = nlohmann::json;
using OrderQueue = std::queue<trading::Order>;
OrderQueue read_orders_from_json(const std::string& filename);
} // End json namespace