diff options
Diffstat (limited to 'encode.go')
-rw-r--r-- | encode.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -78,7 +78,7 @@ func NewEncoder(w io.Writer) *Encoder { // may write partial output, whereas encodin/json would not have // written anything. // -// [documentation for encoding/json.Marshal]: https://pkg.go.dev/encoding/json@go1.18#Marshal +// [documentation for encoding/json.Marshal]: https://pkg.go.dev/encoding/json@go1.20#Marshal func (enc *Encoder) Encode(obj any) (err error) { if enc.isRoot { enc.w.par.Reset() |