31 #ifndef LEDGER_CORE_INPUTPARSER_HPP 32 #define LEDGER_CORE_INPUTPARSER_HPP 34 #include <rapidjson/reader.h> 35 #include "../BitcoinLikeBlockchainExplorer.hpp" 36 #include "../../../../net/HttpClient.hpp" 44 InputParser(std::string& lastKey) : _lastKey(lastKey) {};
49 bool Uint(
unsigned i);
50 bool Int64(int64_t i);
51 bool Uint64(uint64_t i);
52 bool Double(
double d);
53 bool RawNumber(
const rapidjson::Reader::Ch* str, rapidjson::SizeType length,
bool copy);
54 bool String(
const rapidjson::Reader::Ch* str, rapidjson::SizeType length,
bool copy);
56 bool Key(
const rapidjson::Reader::Ch* str, rapidjson::SizeType length,
bool copy);
57 bool EndObject(rapidjson::SizeType memberCount);
59 bool EndArray(rapidjson::SizeType elementCount);
62 std::string& _lastKey;
70 #endif //LEDGER_CORE_INPUTPARSER_HPP
Definition: Account.cpp:8