mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-12 07:53:43 +02:00
helpers.cpp: Add new functions
- readFile() - parseJsonFromFile() - parseJsonFromString() parseJsonFromString() and parseJsonFromFile() use Json::CharReader instead of the obsolete function Json::Reader
This commit is contained in:
@@ -152,4 +152,6 @@ std::string filehash(const char * file);
|
||||
std::string get_path(const char * path);
|
||||
inline bool file_exists(const std::string file) { return file_exists(file.c_str()); }
|
||||
|
||||
std::string readFile(std::string file);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user