Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DisallowUnknownFields ¶
DisallowUnknownFields configures the JSON decoder to error out if unknown fields come along, instead of dropping them by default.
func Unmarshal ¶
Unmarshal is a convenience wrapper around json.Unmarshal to support json decode options
func UnmarshalStrict ¶
UnmarshalStrict is a convenience wrapper around json.Unmarshal with strict unmarshal options
Types ¶
type Marshaler ¶ added in v4.1.0
type Marshaler struct{}
Marshaler is a type which satisfies the grpc-gateway Marshaler interface
func (*Marshaler) ContentType ¶ added in v4.1.0
ContentType implements gwruntime.Marshaler.
func (*Marshaler) NewDecoder ¶ added in v4.1.0
NewDecoder implements gwruntime.Marshaler.
func (*Marshaler) NewEncoder ¶ added in v4.1.0
NewEncoder implements gwruntime.Marshaler.
Click to show internal directories.
Click to hide internal directories.