mirror of
https://github.com/pantor/inja.git
synced 2026-06-07 03:19:46 +00:00
introduce INJA_DATA_TYPE
This commit is contained in:
@@ -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