Documentation ¶
Index ¶
- func Marshal(i interface{}) ([]byte, error)
- func MarshalToBuffer(i interface{}) ([]byte, error)
- func ProtoMarshalAppend(buf []byte, i proto.Message) ([]byte, error)
- func ProtoMarshalAppendOpts(buf []byte, i proto.Message, opts protojson.MarshalOptions) ([]byte, error)
- func ProtoUnmarshal(b []byte, m proto.Message) error
- func ProtoUnmarshalFromReader(r io.Reader, m proto.Message) error
- func ProtoUnmarshalFromReaderOpts(r io.Reader, m proto.Message, opts protojson.UnmarshalOptions) error
- func ProtoUnmarshalOpts(b []byte, m proto.Message, opts protojson.UnmarshalOptions) error
- func Unmarshal(b []byte, i interface{}) error
- func UnmarshalFromReader(r io.Reader, i interface{}) error
- type Marshaler
- type Number
- type RawMessage
- type Unmarshaler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarshalToBuffer ¶
func ProtoMarshalAppendOpts ¶
func ProtoUnmarshalOpts ¶
func UnmarshalFromReader ¶
Types ¶
type RawMessage ¶
type RawMessage = json.RawMessage
type Unmarshaler ¶
Click to show internal directories.
Click to hide internal directories.