From 04df24f464b392e0c38e93e214e091b73fb5db94 Mon Sep 17 00:00:00 2001 From: Keaton Sentak Date: Thu, 3 Oct 2024 14:49:59 -0400 Subject: [PATCH] fix: Add standard validator for format types --- languages/cpp/src/shared/include/json_engine.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/languages/cpp/src/shared/include/json_engine.h b/languages/cpp/src/shared/include/json_engine.h index 0bb98734..d2e2b308 100644 --- a/languages/cpp/src/shared/include/json_engine.h +++ b/languages/cpp/src/shared/include/json_engine.h @@ -148,7 +148,7 @@ class JsonEngine EXPECT_EQ(requestParams, "{}"_json); } else { - json_validator validator; + json_validator validator(nullptr, nlohmann::json_schema::default_string_format_check); const json openRPCParams = method["params"]; for (auto& item : openRPCParams.items()) { std::string key = item.key();