view src/include/json.h @ 6:1d82f6e04d7d

Update: add first parts to the settings dialog
author Paper <mrpapersonic@gmail.com>
date Wed, 16 Aug 2023 00:49:17 -0400
parents 23d0d9319a00
children 07a9095eaeed
line wrap: on
line source

#include "../../dep/json/json.h"

namespace JSON {
	std::string GetString(nlohmann::json const& json, nlohmann::json::json_pointer const& ptr);
	int GetInt(nlohmann::json const& json, nlohmann::json::json_pointer const& ptr);
	bool GetBoolean(nlohmann::json const& json, nlohmann::json::json_pointer const& ptr);
	double GetDouble(nlohmann::json const& json, nlohmann::json::json_pointer const& ptr);
}