Versions in this module Expand all Collapse all v0 v0.9.0 Aug 22, 2021 Changes in this version + func Marshal(v Marshaler) ([]byte, error) + func MarshalToWriter(v Marshaler, w io.Writer) (written int, err error) + func Unmarshal(data []byte, v Unmarshaler) error + func UnmarshalFromReader(r io.Reader, v Unmarshaler) error + type Marshaler interface + MarshalTinyJSON func(w *jwriter.Writer) + type MarshalerUnmarshaler interface + type Optional interface + IsDefined func() bool + type RawMessage []byte + func (v *RawMessage) IsDefined() bool + func (v *RawMessage) MarshalTinyJSON(w *jwriter.Writer) + func (v *RawMessage) UnmarshalJSON(data []byte) error + func (v *RawMessage) UnmarshalTinyJSON(l *jlexer.Lexer) + func (v RawMessage) MarshalJSON() ([]byte, error) + type UnknownFieldsProxy struct + func (s *UnknownFieldsProxy) UnmarshalUnknown(in *jlexer.Lexer, key string) + func (s UnknownFieldsProxy) MarshalUnknowns(out *jwriter.Writer, first bool) + type UnknownsMarshaler interface + MarshalUnknowns func(w *jwriter.Writer, first bool) + type UnknownsUnmarshaler interface + UnmarshalUnknown func(in *jlexer.Lexer, key string) + type Unmarshaler interface + UnmarshalTinyJSON func(w *jlexer.Lexer)