# My Project: include/readers/JSONReader.hh Source File

Loading...
Searching...
No Matches
JSONReader.hh
Go to the documentation of this file.
#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
readers::json
Definition JSONReader.cc:12
readers::json::read_orders_from_json
OrderQueue read_orders_from_json(const std::string &filename)
Definition JSONReader.cc:14
readers::json::JSON
nlohmann::json JSON
Definition JSONReader.hh:13
readers::json::OrderQueue
std::queue< trading::Order > OrderQueue
Definition JSONReader.hh:14