Mercurial > minori
comparison src/core/json.cc @ 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 | 47c9f8502269 |
comparison
equal
deleted
inserted
replaced
| 174:f88eda79c60a | 175:9b10175be389 |
|---|---|
| 1 #include "core/json.h" | 1 #include "core/json.h" |
| 2 #include "json/json.hpp" | |
| 2 | 3 |
| 3 namespace JSON { | 4 namespace JSON { |
| 4 | 5 |
| 5 nlohmann::json GetValue(const nlohmann::json& json, const nlohmann::json::json_pointer& ptr) { | 6 nlohmann::json GetValue(const nlohmann::json& json, const nlohmann::json::json_pointer& ptr) { |
| 6 if (json.contains(ptr)) | 7 if (json.contains(ptr)) |
