mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-10 21:41:50 +00:00
BasicParser now uses string_view
This commit is contained in:
parent
65e85f362c
commit
5da2a30326
9 changed files with 45 additions and 43 deletions
|
|
@ -14,16 +14,6 @@
|
|||
#include <unordered_map>
|
||||
|
||||
namespace json {
|
||||
class Parser : public BasicParser {
|
||||
std::unique_ptr<dynamic::List> parseList();
|
||||
std::unique_ptr<dynamic::Map> parseObject();
|
||||
dynamic::Value parseValue();
|
||||
public:
|
||||
Parser(const std::string& filename, const std::string& source);
|
||||
|
||||
std::unique_ptr<dynamic::Map> parse();
|
||||
};
|
||||
|
||||
std::unique_ptr<dynamic::Map> parse(const std::string& filename, const std::string& source);
|
||||
std::unique_ptr<dynamic::Map> parse(const std::string& source);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue