8#ifndef DISCORD_IPC_CPP_INCLUDE_DISCORD_IPC_CPP_PARSER_HPP_
9#define DISCORD_IPC_CPP_INCLUDE_DISCORD_IPC_CPP_PARSER_HPP_
13#include "discord_ipc_cpp/json.hpp"
36 const std::string& _json;
48 explicit Parser(
const std::string&
json);
53 void skip_whitespace();
62 void expect(
char item);
102 std::string parse_string();
130 JSON parse_literal();
Basic abstract JSON item.
Definition json.hpp:69
static JSON parse(const std::string &json)
Parses JSON string into discord_ipc_cpp::json::JSON class.
Custom JSON implementation.