Mercurial > minori
annotate src/include/json.h @ 3:190ded9438c0
Fix many warnings
| author | Paper <mrpapersonic@gmail.com> |
|---|---|
| date | Sat, 12 Aug 2023 11:57:25 -0400 |
| parents | 23d0d9319a00 |
| children | 1d82f6e04d7d |
| rev | line source |
|---|---|
| 2 | 1 #include "../../dep/json/json.h" |
| 2 | |
| 3 namespace JSON { | |
| 4 std::string GetString(nlohmann::json const& json, std::string const& key); | |
| 5 int GetInt(nlohmann::json const& json, std::string const& key); | |
| 6 int64_t GetInt64(nlohmann::json const& json, std::string const& key); | |
| 7 bool GetBoolean(nlohmann::json const& json, std::string const& key); | |
| 8 double GetDouble(nlohmann::json const& json, std::string const& key); | |
| 9 } |
