mirror of
https://github.com/simdjson/simdjson
synced 2026-06-08 17:27:07 +00:00
8 lines
334 B
C++
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
|
|
} |