Merge pull request #324 from lightpanda-io/json_parse_unknown_field

cdp: do not throw error on json parse for unknown fields
This commit is contained in:
Francis Bouvier
2024-12-08 19:05:11 +01:00
committed by GitHub

View File

@@ -150,6 +150,7 @@ pub const IncomingMessage = struct {
// parse "params"
const options = std.json.ParseOptions{
.ignore_unknown_fields = true,
.max_value_len = self.scanner.input.len,
.allocate = .alloc_always,
};