Mercurial > minori
view src/include/json.h @ 5:51ae25154b70
Fix OS X support code
| author | Paper <mrpapersonic@gmail.com> | 
|---|---|
| date | Sat, 12 Aug 2023 13:10:34 -0400 | 
| parents | 23d0d9319a00 | 
| children | 1d82f6e04d7d | 
line wrap: on
 line source
#include "../../dep/json/json.h" namespace JSON { std::string GetString(nlohmann::json const& json, std::string const& key); int GetInt(nlohmann::json const& json, std::string const& key); int64_t GetInt64(nlohmann::json const& json, std::string const& key); bool GetBoolean(nlohmann::json const& json, std::string const& key); double GetDouble(nlohmann::json const& json, std::string const& key); }
