introduce INJA_DATA_TYPE

This commit is contained in:
pantor
2021-09-06 09:15:48 +02:00
parent 12a2c9bbf2
commit 9b9dd96a46
8 changed files with 26 additions and 21 deletions
+4
View File
@@ -28,7 +28,11 @@ SOFTWARE.
#include <nlohmann/json.hpp>
namespace inja {
#ifndef INJA_DATA_TYPE
using json = nlohmann::json;
#else
using json = INJA_DATA_TYPE;
#endif
}
#if (defined(__cpp_exceptions) || defined(__EXCEPTIONS) || defined(_CPPUNWIND)) && !defined(INJA_NOEXCEPTION)