feat!: rework the public API to json/v2-style variadic options
Test / test (push) Successful in 1m49s
Test / test (push) Successful in 1m49s
Assisted-by: GLM 5.3 Flash
This commit is contained in:
+1
-1
@@ -109,7 +109,7 @@ func FuzzTargetedDecode(f *testing.F) {
|
||||
f.Fuzz(func(t *testing.T, data []byte) {
|
||||
doc := fuzzDocument(data)
|
||||
var tgt fuzzDoc
|
||||
tgtErr := NewDecoder().Decode(doc, &tgt)
|
||||
tgtErr := Unmarshal(doc, &tgt)
|
||||
if tgtErr != nil {
|
||||
// A document with several decode-stage findings reports a different
|
||||
// one per run (the tree decode walks its maps in random order), so the
|
||||
|
||||
Reference in New Issue
Block a user