func encoding/json/v2.MarshalToFunc
one use
encoding/json/v2 (current package)
arshal_funcs.go#L209: func MarshalToFunc[T any](fn func(*jsontext.Encoder, T) error) *Marshalers {
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)