kubernetes/vendor/github.com/grpc-ecosystem/grpc-gateway/v2/runtime/marshal_json.go

type JSONBuiltin

// ContentType always Returns "application/json".
func (*JSONBuiltin) ContentType(_ interface{}

// Marshal marshals "v" into JSON
func (j *JSONBuiltin) Marshal(v interface{}

// MarshalIndent is like Marshal but applies Indent to format the output
func (j *JSONBuiltin) MarshalIndent(v interface{}

// Unmarshal unmarshals JSON data into "v".
func (j *JSONBuiltin) Unmarshal(data []byte, v interface{}

// NewDecoder returns a Decoder which reads JSON stream from "r".
func (j *JSONBuiltin) NewDecoder(r io.Reader) Decoder {}

// NewEncoder returns an Encoder which writes JSON stream into "w".
func (j *JSONBuiltin) NewEncoder(w io.Writer) Encoder {}

// Delimiter for newline encoded JSON streams.
func (j *JSONBuiltin) Delimiter() []byte {}