Files
simdjson-simdjson/tests/compile_time/basic_compile_time_tests.cpp
T
Daniel Lemire 2fce4a843d update
2025-10-31 18:46:13 -04:00

8 lines
334 B
C++

#include <string_view>
#include "simdjson.h"
int main() {
constexpr simdjson::constevalutil::fixed_string json( R"({"key1": "value1", "key2": 42, "key3": {"nestedKey": "nestedValue"}, "key4": [1, 2, 3]})" );
constexpr auto parsed = simdjson::compile_time::parse_json<json>();
(void)parsed; // Suppress unused variable warning
}