Documentation
¶
Index ¶
- type DecoderWrapper
- type JSONPb
- func (*JSONPb) ContentType() string
- func (j *JSONPb) Delimiter() []byte
- func (j *JSONPb) Marshal(v interface{}) ([]byte, error)
- func (j *JSONPb) NewDecoder(r io.Reader) marshaler.Decoder
- func (j *JSONPb) NewEncoder(w io.Writer) marshaler.Encoder
- func (j *JSONPb) Unmarshal(data []byte, v interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DecoderWrapper ¶
type DecoderWrapper struct { *json.Decoder protojson.UnmarshalOptions }
func (DecoderWrapper) Decode ¶
func (d DecoderWrapper) Decode(v interface{}) error
type JSONPb ¶
type JSONPb struct { protojson.MarshalOptions protojson.UnmarshalOptions }
func (*JSONPb) ContentType ¶
Click to show internal directories.
Click to hide internal directories.