mirror of
https://github.com/pantor/inja.git
synced 2026-10-06 20:37:17 +00:00
introduce INJA_DATA_TYPE
This commit is contained in:
1 parent
12a2c9bbf2
commit
9b9dd96a46
8 files changed
+26
-21
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user