Versions in this module Expand all Collapse all v0 v0.25.1 Sep 26, 2025 Changes in this version + var ErrStdlib jsonError = "error from the JSON adapter stdlib" + func BorrowAdapterIface() ifaces.Adapter + func RedeemAdapter(a *Adapter) + func RedeemAdapterIface(a ifaces.Adapter) + func Register(dispatcher ifaces.Registrar) + type Adapter struct + func BorrowAdapter() *Adapter + func NewAdapter() *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 + type MapSlice []MapItem + func (s *MapSlice) OrderedUnmarshalJSON(data []byte) error + func (s *MapSlice) SetOrderedItems(items iter.Seq2[string, any]) + func (s *MapSlice) UnmarshalJSON(data []byte) error + func (s MapSlice) MarshalJSON() ([]byte, error) + func (s MapSlice) OrderedItems() iter.Seq2[string, any] + func (s MapSlice) OrderedMarshalJSON() ([]byte, error)