Versions in this module Expand all Collapse all v0 v0.25.0 Sep 24, 2025 Changes in this version + func BorrowAdapterIface() ifaces.Adapter + func BorrowLexer(data []byte) *jlexer.Lexer + func BorrowWriter() *jwriter.Writer + func RedeemAdapter(a *Adapter) + func RedeemAdapterIface(a ifaces.Adapter) + func RedeemLexer(l *jlexer.Lexer) + func RedeemWriter(w *jwriter.Writer) + func Register(dispatcher ifaces.Registrar, opts ...Option) + type Adapter struct + func BorrowAdapter() *Adapter + func NewAdapter(opts ...Option) *Adapter + func (a *Adapter) Marshal(value any) ([]byte, error) + func (a *Adapter) NewOrderedMap(capacity int) ifaces.OrderedMap + func (a *Adapter) OrderedMarshal(value ifaces.Ordered) ([]byte, error) + func (a *Adapter) OrderedUnmarshal(data []byte, value ifaces.SetOrdered) error + func (a *Adapter) Redeem() + func (a *Adapter) Reset() + func (a *Adapter) Unmarshal(data []byte, value any) error + type MapItem struct + Key string + Value any + func (s *MapItem) UnmarshalEasyJSON(in *jlexer.Lexer) + func (s MapItem) MarshalEasyJSON(w *jwriter.Writer) + type MapSlice []MapItem + func (s *MapSlice) OrderedUnmarshalJSON(data []byte) error + func (s *MapSlice) SetOrderedItems(items iter.Seq2[string, any]) + func (s *MapSlice) UnmarshalEasyJSON(in *jlexer.Lexer) + func (s *MapSlice) UnmarshalJSON(data []byte) error + func (s MapSlice) MarshalEasyJSON(w *jwriter.Writer) + func (s MapSlice) MarshalJSON() ([]byte, error) + func (s MapSlice) OrderedItems() iter.Seq2[string, any] + func (s MapSlice) OrderedMarshalJSON() ([]byte, error) + type Option func(o *options) + func WithLexerUseMultipleErrors(enabled bool) Option + func WithWriterNilMapAsEmpty(enabled bool) Option + func WithWriterNilSliceAsEmpty(enabled bool) Option + func WithWriterNoEscapeHTML(noescape bool) Option