Versions in this module Expand all Collapse all v1 v1.30.1 Aug 3, 2023 v1.30.0 Aug 3, 2023 Changes in this version + var JSONMarshalFunc func(v interface{}) ([]byte, error) + type Encoder struct + func (Encoder) AppendArrayDelim(dst []byte) []byte + func (Encoder) AppendArrayEnd(dst []byte) []byte + func (Encoder) AppendArrayStart(dst []byte) []byte + func (Encoder) AppendBeginMarker(dst []byte) []byte + func (Encoder) AppendBool(dst []byte, val bool) []byte + func (Encoder) AppendBools(dst []byte, vals []bool) []byte + func (Encoder) AppendBytes(dst, s []byte) []byte + func (Encoder) AppendEndMarker(dst []byte) []byte + func (Encoder) AppendFloat32(dst []byte, val float32) []byte + func (Encoder) AppendFloat64(dst []byte, val float64) []byte + func (Encoder) AppendFloats32(dst []byte, vals []float32) []byte + func (Encoder) AppendFloats64(dst []byte, vals []float64) []byte + func (Encoder) AppendHex(dst, s []byte) []byte + func (Encoder) AppendInt(dst []byte, val int) []byte + func (Encoder) AppendInt16(dst []byte, val int16) []byte + func (Encoder) AppendInt32(dst []byte, val int32) []byte + func (Encoder) AppendInt64(dst []byte, val int64) []byte + func (Encoder) AppendInt8(dst []byte, val int8) []byte + func (Encoder) AppendInts(dst []byte, vals []int) []byte + func (Encoder) AppendInts16(dst []byte, vals []int16) []byte + func (Encoder) AppendInts32(dst []byte, vals []int32) []byte + func (Encoder) AppendInts64(dst []byte, vals []int64) []byte + func (Encoder) AppendInts8(dst []byte, vals []int8) []byte + func (Encoder) AppendLineBreak(dst []byte) []byte + func (Encoder) AppendNil(dst []byte) []byte + func (Encoder) AppendObjectData(dst []byte, o []byte) []byte + func (Encoder) AppendString(dst []byte, s string) []byte + func (Encoder) AppendTimes(dst []byte, vals []time.Time, format string) []byte + func (Encoder) AppendUint(dst []byte, val uint) []byte + func (Encoder) AppendUint16(dst []byte, val uint16) []byte + func (Encoder) AppendUint32(dst []byte, val uint32) []byte + func (Encoder) AppendUint64(dst []byte, val uint64) []byte + func (Encoder) AppendUint8(dst []byte, val uint8) []byte + func (Encoder) AppendUints(dst []byte, vals []uint) []byte + func (Encoder) AppendUints16(dst []byte, vals []uint16) []byte + func (Encoder) AppendUints32(dst []byte, vals []uint32) []byte + func (Encoder) AppendUints64(dst []byte, vals []uint64) []byte + func (Encoder) AppendUints8(dst []byte, vals []uint8) []byte + func (e Encoder) AppendDuration(dst []byte, d time.Duration, unit time.Duration, useInt bool) []byte + func (e Encoder) AppendDurations(dst []byte, vals []time.Duration, unit time.Duration, useInt bool) []byte + func (e Encoder) AppendIPAddr(dst []byte, ip net.IP) []byte + func (e Encoder) AppendIPPrefix(dst []byte, pfx net.IPNet) []byte + func (e Encoder) AppendInterface(dst []byte, i interface{}) []byte + func (e Encoder) AppendKey(dst []byte, key string) []byte + func (e Encoder) AppendMACAddr(dst []byte, ha net.HardwareAddr) []byte + func (e Encoder) AppendStringer(dst []byte, val fmt.Stringer) []byte + func (e Encoder) AppendStringers(dst []byte, vals []fmt.Stringer) []byte + func (e Encoder) AppendStrings(dst []byte, vals []string) []byte + func (e Encoder) AppendTime(dst []byte, t time.Time, format string) []byte + func (e Encoder) AppendType(dst []byte, i interface{}) []byte