#pragma once #include #include #include #include #include #include #include #include #include #include #define TEST_JSON_PERFORMANCE //#define USE_SIMDJSON_JSON // 14 seconds //#define USE_BOOST_JSON // 28 seconds //#define USE_NLOHMANN_JSON // 56 seconds #define USE_JSONCPP_JSON // 105 seconds #ifdef USE_SIMDJSON_JSON # define JSON_PREFER_PASS_BY_VALUE # define JSON_PREFER_REUSE_OF_PARSER # include "simdjson/simdjson.h" #endif #ifdef USE_BOOST_JSON # include #endif #ifdef USE_NLOHMANN_JSON # include "nlohmann/json.hpp" #endif #ifdef USE_JSONCPP_JSON # define JSON_PREFER_REUSE_OF_PARSER # include #endif