Skip to content

Commit

Permalink
feat: Add standard str validator for format types
Browse files Browse the repository at this point in the history
  • Loading branch information
ksentak committed Oct 4, 2024
1 parent f02d05a commit 172de82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion languages/cpp/src/shared/include/json_engine.h
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 172de82

Please sign in to comment.