My Project
 
Loading...
Searching...
No Matches
JSONReader.hh
Go to the documentation of this file.
1#pragma once
2
3// C++ Includes
4#include <queue>
5#include <string>
6#include <memory>
7
8// Third Party Includes
9#include "trading.pb.h"
10#include <nlohmann/json.hpp>
11
12namespace readers::json {
13using JSON = nlohmann::json;
14using OrderQueue = std::queue<trading::Order>;
15
16OrderQueue read_orders_from_json(const std::string& filename);
17} // End json namespace
Definition JSONReader.cc:12
OrderQueue read_orders_from_json(const std::string &filename)
Definition JSONReader.cc:14
nlohmann::json JSON
Definition JSONReader.hh:13
std::queue< trading::Order > OrderQueue
Definition JSONReader.hh:14