Versions in this module Expand all Collapse all v0 v0.1.0 Sep 27, 2022 Changes in this version + var Marshaller runtime.Marshaler = &runtime.JSONPb + var MarshallerWithDiscard runtime.Marshaler = &runtime.JSONPb + var ProtoJSONMarshal = Marshaller.Marshal + var ProtoJSONUnmarshal = Marshaller.Unmarshal + func Compact(dst *bytes.Buffer, src []byte) error + func Marshal(v any) ([]byte, error) + func MarshalIndent(v any, prefix, indent string) ([]byte, error) + func NewEncoder(w io.Writer) *stdjson.Encoder + func Unmarshal(data []byte, v any) error + type RawMessage stdjson.RawMessage + func (m *RawMessage) UnmarshalJSON(data []byte) error + func (m RawMessage) MarshalJSON() ([]byte, error)