Debian Codegraph @

decode_version_legacy_test.go

raw
1 //go:build !go1.27 || !goexperiment.jsonv2
2
3 package json_test
4
5 // methodErrorsAsIs is whether encoding/json returns the type error of an unmarshal method as it is: before Go 1.27,
6 // it sets the struct and the field of it.
7 const methodErrorsAsIs = false