func (*jsonMarshaler) ContentType(_ interface{}) string {
	return "application/json"
}
ContentType always returns "application/json".
package service
import (
	"bytes"
	"encoding/base64"
	"github.com/grpc-ecosystem/grpc-gateway/v2/runtime"
	jsoniter "github.com/json-iterator/go"
	"github.com/plgd-dev/go-coap/v2/message"
	"github.com/plgd-dev/kit/v2/codec/cbor"
	"github.com/plgd-dev/kit/v2/codec/json"
	"google.golang.org/protobuf/encoding/protojson"
)
type jsonMarshaler struct {
	*runtime.JSONPb
}
func newJsonMarshaler() *jsonMarshaler {
	return &jsonMarshaler{
		JSONPb: &runtime.JSONPb{
			MarshalOptions: protojson.MarshalOptions{
				EmitUnpopulated: true,
			},
			UnmarshalOptions: protojson.UnmarshalOptions{
				DiscardUnknown: true,
			},
		},
	}
}