Mercurial > minori
comparison src/include/json.h @ 2:23d0d9319a00
Update
Also converted everything to LF from CRLF
| author | Paper <mrpapersonic@gmail.com> |
|---|---|
| date | Sat, 12 Aug 2023 03:16:26 -0400 |
| parents | |
| children | 1d82f6e04d7d |
comparison
equal
deleted
inserted
replaced
| 1:1ae666fdf9e2 | 2:23d0d9319a00 |
|---|---|
| 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 } |
