You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
321 B

#pragma once
#include "webserv.hpp"
class JSONParser {
2 years ago
std::fstream file;
2 years ago
Tokenizer tokenizer;
2 years ago
public:
2 years ago
JSONParser(const string filename);
JSONNode *parse();
JSONNode *parseObject();
JSONNode *parseList();
JSONNode *parseString();
JSONNode *parseNumber();
JSONNode *parseBoolean();
JSONNode *parseNull();
};