const wrapJSONMarshalV2 …
type Marshaler …
type JSONPBMarshaler …
func (jm *Marshaler) Marshal(w io.Writer, m proto.Message) error { … }
func (jm *Marshaler) MarshalToString(m proto.Message) (string, error) { … }
func (jm *Marshaler) marshal(m proto.Message) ([]byte, error) { … }
type jsonWriter …
func (w *jsonWriter) write(s string) { … }
func (w *jsonWriter) marshalMessage(m protoreflect.Message, indent, typeURL string) error { … }
func (w *jsonWriter) writeComma() { … }
func (w *jsonWriter) marshalAny(m protoreflect.Message, indent string) error { … }
func (w *jsonWriter) marshalTypeURL(indent, typeURL string) error { … }
func (w *jsonWriter) marshalField(fd protoreflect.FieldDescriptor, v protoreflect.Value, indent string) error { … }
func (w *jsonWriter) marshalValue(fd protoreflect.FieldDescriptor, v protoreflect.Value, indent string) error { … }
func (w *jsonWriter) marshalSingularValue(fd protoreflect.FieldDescriptor, v protoreflect.Value, indent string) error { … }