| 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 |