comparison include/core/json.h @ 175:9b10175be389

dep/json: update to v3.11.3 anime/db: save anime list to database, very much untested and likely won't work as intended
author Paper <mrpapersonic@gmail.com>
date Thu, 30 Nov 2023 13:52:26 -0500
parents f88eda79c60a
children bc1ae1810855
comparison
equal deleted inserted replaced
174:f88eda79c60a 175:9b10175be389
1 #ifndef __core__json_h 1 #ifndef __core__json_h
2 #define __core__json_h 2 #define __core__json_h
3 3
4 #include "json/json.h" 4 #include "json/json.hpp"
5 5
6 namespace JSON { 6 namespace JSON {
7 7
8 template<typename T = std::string> 8 template<typename T = std::string>
9 T GetString(const nlohmann::json& json, const nlohmann::json::json_pointer& ptr, T def) { 9 T GetString(const nlohmann::json& json, const nlohmann::json::json_pointer& ptr, T def) {