From 0dbf822cbdcaa3737f12d21f82a3f1fb59fc085c Mon Sep 17 00:00:00 2001 From: mgoetzegb Date: Mon, 15 Sep 2025 12:42:30 +0200 Subject: [PATCH] fix doc comment: remove untrue claim of disallowing unknown fields (#677) adjust comment to fit https://github.com/gocsaf/csaf/pull/655/commits/7935818600ee70cbcb7784a67788a4f3bacaba01 --- internal/misc/json.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/misc/json.go b/internal/misc/json.go index 4ecc6a5..d9e87c3 100644 --- a/internal/misc/json.go +++ b/internal/misc/json.go @@ -15,7 +15,7 @@ import ( ) // StrictJSONParse creates a JSON decoder that decodes an interface -// while not allowing unknown fields nor trailing data +// while not allowing trailing data func StrictJSONParse(jsonData io.Reader, target any) error { decoder := json.NewDecoder(jsonData)