sing/common/json/unmarshal_context.go
2024-07-22 12:02:46 +08:00

9 lines
208 B
Go

//go:build go1.20 && !without_contextjson
package json
import (
json "github.com/sagernet/sing/common/json/internal/contextjson"
)
var UnmarshalDisallowUnknownFields = json.UnmarshalDisallowUnknownFields