diff --git a/other/build.nr b/other/build.nr index 9142bb4..fe36e8b 100644 --- a/other/build.nr +++ b/other/build.nr @@ -1 +1 @@ -2008 +2009 diff --git a/src/ostd/io/Json.hpp b/src/ostd/io/Json.hpp index f2b6ca8..0ca8926 100644 --- a/src/ostd/io/Json.hpp +++ b/src/ostd/io/Json.hpp @@ -35,6 +35,7 @@ namespace ostd inline JsonFile(void) { m_loaded = false; } inline JsonFile(const ostd::String& filePath) { init(filePath); } bool init(const ostd::String& filePath, bool writeable = true, const json* obj = nullptr); + inline bool isLoaded(void) const { return m_loaded; } template T get(const ostd::String& name); template bool set(const ostd::String& name, T value);