diff options
Diffstat (limited to 'encode.go')
-rw-r--r-- | encode.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -83,7 +83,7 @@ func (enc *Encoder) Encode(obj any) (err error) { if enc.isRoot { enc.w.par.Reset() } - escaper := enc.w.BackslashEscape + escaper := enc.w.cfg.BackslashEscape if escaper == nil { escaper = EscapeDefault } |