Webserv
Loading...
Searching...
No Matches
Parser.hpp
Go to the documentation of this file.
1#pragma once
2#include "webserv.hpp"
3
4class JSONParser {
5 std::fstream file;
7
8 public:
9 JSONParser(const string filename);
10 JSONNode *parse();
17};
Tokenizer tokenizer
Definition: Parser.hpp:6
std::fstream file
Definition: Parser.hpp:5
JSONNode * parseString()
Definition: Parser.cpp:174
JSONNode * parseNumber()
Definition: Parser.cpp:181
JSONNode * parseList()
Definition: Parser.cpp:111
JSONNode * parseNull()
Definition: Parser.cpp:195
JSONNode * parse()
Definition: Parser.cpp:5
JSONNode * parseObject()
Definition: Parser.cpp:46
JSONNode * parseBoolean()
Definition: Parser.cpp:189