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.
 
 
 
 

17 lines
321 B

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