Reset resets an encoder such that it is writing afresh to w and configured with the provided options. Reset must not be called on an Encoder passed to the [encoding/json/v2.MarshalerTo.MarshalJSONTo] method or the [encoding/json/v2.MarshalToFunc] function.
(w io.Writer, opts ...Options)
source not stored for this graph (policy: none)