diff --git a/loader/include/Geode/loader/Log.hpp b/loader/include/Geode/loader/Log.hpp index d457aedf..ea7d8483 100644 --- a/loader/include/Geode/loader/Log.hpp +++ b/loader/include/Geode/loader/Log.hpp @@ -7,6 +7,7 @@ #include #include #include +#include #include #include // for formatting std::vector and such @@ -64,6 +65,12 @@ namespace ghc::filesystem { } } +namespace matjson { + GEODE_INLINE GEODE_HIDDEN std::string format_as(matjson::Value const& value) { + return value.dump(matjson::NO_INDENTATION); + } +} + namespace geode { class Mod;