Versions in this module Expand all Collapse all v1 v1.2.10 Mar 25, 2019 Changes in this version + var ErrUnmarshalPtrExpected = errors.New("Cannot unmarshal to given value, a pointer is expected") + var Stream = stream + var Unsafe = decUnsafe + func Marshal(v interface{}) ([]byte, error) + func MarshalAny(v interface{}) ([]byte, error) + func MarshalJSONArray(v MarshalerJSONArray) ([]byte, error) + func MarshalJSONObject(v MarshalerJSONObject) ([]byte, error) + func Unmarshal(data []byte, v interface{}) error + func UnmarshalJSONArray(data []byte, v UnmarshalerJSONArray) error + func UnmarshalJSONObject(data []byte, v UnmarshalerJSONObject) error + type DecodeArrayFunc func(*Decoder) error + func (f DecodeArrayFunc) IsNil() bool + func (f DecodeArrayFunc) UnmarshalJSONArray(dec *Decoder) error + type DecodeObjectFunc func(*Decoder, string) error + func (f DecodeObjectFunc) NKeys() int + func (f DecodeObjectFunc) UnmarshalJSONObject(dec *Decoder, k string) error + type Decoder struct + func BorrowDecoder(r io.Reader) *Decoder + func NewDecoder(r io.Reader) *Decoder + func (dec *Decoder) AddArray(v UnmarshalerJSONArray) error + func (dec *Decoder) AddArrayNull(v interface{}) error + func (dec *Decoder) AddBool(v *bool) error + func (dec *Decoder) AddBoolNull(v **bool) error + func (dec *Decoder) AddEmbeddedJSON(v *EmbeddedJSON) error + func (dec *Decoder) AddFloat(v *float64) error + func (dec *Decoder) AddFloat32(v *float32) error + func (dec *Decoder) AddFloat32Null(v **float32) error + func (dec *Decoder) AddFloat64(v *float64) error + func (dec *Decoder) AddFloat64Null(v **float64) error + func (dec *Decoder) AddFloatNull(v **float64) error + func (dec *Decoder) AddInt(v *int) error + func (dec *Decoder) AddInt16(v *int16) error + func (dec *Decoder) AddInt16Null(v **int16) error + func (dec *Decoder) AddInt32(v *int32) error + func (dec *Decoder) AddInt32Null(v **int32) error + func (dec *Decoder) AddInt64(v *int64) error + func (dec *Decoder) AddInt64Null(v **int64) error + func (dec *Decoder) AddInt8(v *int8) error + func (dec *Decoder) AddInt8Null(v **int8) error + func (dec *Decoder) AddIntNull(v **int) error + func (dec *Decoder) AddInterface(v *interface{}) error + func (dec *Decoder) AddObject(v UnmarshalerJSONObject) error + func (dec *Decoder) AddObjectNull(v interface{}) error + func (dec *Decoder) AddSQLNullBool(v *sql.NullBool) error + func (dec *Decoder) AddSQLNullFloat64(v *sql.NullFloat64) error + func (dec *Decoder) AddSQLNullInt64(v *sql.NullInt64) error + func (dec *Decoder) AddSQLNullString(v *sql.NullString) error + func (dec *Decoder) AddSliceBool(s *[]bool) error + func (dec *Decoder) AddSliceFloat64(s *[]float64) error + func (dec *Decoder) AddSliceInt(s *[]int) error + func (dec *Decoder) AddSliceString(s *[]string) error + func (dec *Decoder) AddString(v *string) error + func (dec *Decoder) AddStringNull(v **string) error + func (dec *Decoder) AddTime(v *time.Time, format string) error + func (dec *Decoder) AddUint16(v *uint16) error + func (dec *Decoder) AddUint16Null(v **uint16) error + func (dec *Decoder) AddUint32(v *uint32) error + func (dec *Decoder) AddUint32Null(v **uint32) error + func (dec *Decoder) AddUint64(v *uint64) error + func (dec *Decoder) AddUint64Null(v **uint64) error + func (dec *Decoder) AddUint8(v *uint8) error + func (dec *Decoder) AddUint8Null(v **uint8) error + func (dec *Decoder) Array(v UnmarshalerJSONArray) error + func (dec *Decoder) ArrayNull(v interface{}) error + func (dec *Decoder) Bool(v *bool) error + func (dec *Decoder) BoolNull(v **bool) error + func (dec *Decoder) Decode(v interface{}) error + func (dec *Decoder) DecodeArray(v UnmarshalerJSONArray) error + func (dec *Decoder) DecodeBool(v *bool) error + func (dec *Decoder) DecodeFloat32(v *float32) error + func (dec *Decoder) DecodeFloat64(v *float64) error + func (dec *Decoder) DecodeInt(v *int) error + func (dec *Decoder) DecodeInt16(v *int16) error + func (dec *Decoder) DecodeInt32(v *int32) error + func (dec *Decoder) DecodeInt64(v *int64) error + func (dec *Decoder) DecodeInt8(v *int8) error + func (dec *Decoder) DecodeInterface(i *interface{}) error + func (dec *Decoder) DecodeObject(j UnmarshalerJSONObject) error + func (dec *Decoder) DecodeSQLNullBool(v *sql.NullBool) error + func (dec *Decoder) DecodeSQLNullFloat64(v *sql.NullFloat64) error + func (dec *Decoder) DecodeSQLNullInt64(v *sql.NullInt64) error + func (dec *Decoder) DecodeSQLNullString(v *sql.NullString) error + func (dec *Decoder) DecodeString(v *string) error + func (dec *Decoder) DecodeTime(v *time.Time, format string) error + func (dec *Decoder) DecodeUint16(v *uint16) error + func (dec *Decoder) DecodeUint32(v *uint32) error + func (dec *Decoder) DecodeUint64(v *uint64) error + func (dec *Decoder) DecodeUint8(v *uint8) error + func (dec *Decoder) EmbeddedJSON(v *EmbeddedJSON) error + func (dec *Decoder) Float(v *float64) error + func (dec *Decoder) Float32(v *float32) error + func (dec *Decoder) Float32Null(v **float32) error + func (dec *Decoder) Float64(v *float64) error + func (dec *Decoder) Float64Null(v **float64) error + func (dec *Decoder) FloatNull(v **float64) error + func (dec *Decoder) Index() int + func (dec *Decoder) Int(v *int) error + func (dec *Decoder) Int16(v *int16) error + func (dec *Decoder) Int16Null(v **int16) error + func (dec *Decoder) Int32(v *int32) error + func (dec *Decoder) Int32Null(v **int32) error + func (dec *Decoder) Int64(v *int64) error + func (dec *Decoder) Int64Null(v **int64) error + func (dec *Decoder) Int8(v *int8) error + func (dec *Decoder) Int8Null(v **int8) error + func (dec *Decoder) IntNull(v **int) error + func (dec *Decoder) Interface(value *interface{}) error + func (dec *Decoder) Object(value UnmarshalerJSONObject) error + func (dec *Decoder) ObjectNull(v interface{}) error + func (dec *Decoder) Release() + func (dec *Decoder) SQLNullBool(v *sql.NullBool) error + func (dec *Decoder) SQLNullFloat64(v *sql.NullFloat64) error + func (dec *Decoder) SQLNullInt64(v *sql.NullInt64) error + func (dec *Decoder) SQLNullString(v *sql.NullString) error + func (dec *Decoder) SliceBool(s *[]bool) error + func (dec *Decoder) SliceFloat64(s *[]float64) error + func (dec *Decoder) SliceInt(s *[]int) error + func (dec *Decoder) SliceString(s *[]string) error + func (dec *Decoder) String(v *string) error + func (dec *Decoder) StringNull(v **string) error + func (dec *Decoder) Time(v *time.Time, format string) error + func (dec *Decoder) Uint16(v *uint16) error + func (dec *Decoder) Uint16Null(v **uint16) error + func (dec *Decoder) Uint32(v *uint32) error + func (dec *Decoder) Uint32Null(v **uint32) error + func (dec *Decoder) Uint64(v *uint64) error + func (dec *Decoder) Uint64Null(v **uint64) error + func (dec *Decoder) Uint8(v *uint8) error + func (dec *Decoder) Uint8Null(v **uint8) error + type EmbeddedJSON []byte + type EncodeArrayFunc func(*Encoder) + func (f EncodeArrayFunc) IsNil() bool + func (f EncodeArrayFunc) MarshalJSONArray(enc *Encoder) + type EncodeObjectFunc func(*Encoder) + func (f EncodeObjectFunc) IsNil() bool + func (f EncodeObjectFunc) MarshalJSONObject(enc *Encoder) + type Encoder struct + func BorrowEncoder(w io.Writer) *Encoder + func NewEncoder(w io.Writer) *Encoder + func (enc *Encoder) AddArray(v MarshalerJSONArray) + func (enc *Encoder) AddArrayKey(key string, v MarshalerJSONArray) + func (enc *Encoder) AddArrayKeyNullEmpty(key string, v MarshalerJSONArray) + func (enc *Encoder) AddArrayKeyOmitEmpty(key string, v MarshalerJSONArray) + func (enc *Encoder) AddArrayNullEmpty(v MarshalerJSONArray) + func (enc *Encoder) AddArrayOmitEmpty(v MarshalerJSONArray) + func (enc *Encoder) AddBool(v bool) + func (enc *Encoder) AddBoolKey(key string, v bool) + func (enc *Encoder) AddBoolKeyNullEmpty(key string, v bool) + func (enc *Encoder) AddBoolKeyOmitEmpty(key string, v bool) + func (enc *Encoder) AddBoolNullEmpty(v bool) + func (enc *Encoder) AddBoolOmitEmpty(v bool) + func (enc *Encoder) AddEmbeddedJSON(v *EmbeddedJSON) + func (enc *Encoder) AddEmbeddedJSONKey(key string, v *EmbeddedJSON) + func (enc *Encoder) AddEmbeddedJSONKeyOmitEmpty(key string, v *EmbeddedJSON) + func (enc *Encoder) AddEmbeddedJSONOmitEmpty(v *EmbeddedJSON) + func (enc *Encoder) AddFloat(v float64) + func (enc *Encoder) AddFloat32(v float32) + func (enc *Encoder) AddFloat32Key(key string, v float32) + func (enc *Encoder) AddFloat32KeyNullEmpty(key string, v float32) + func (enc *Encoder) AddFloat32KeyOmitEmpty(key string, v float32) + func (enc *Encoder) AddFloat32NullEmpty(v float32) + func (enc *Encoder) AddFloat32OmitEmpty(v float32) + func (enc *Encoder) AddFloat64(v float64) + func (enc *Encoder) AddFloat64Key(key string, v float64) + func (enc *Encoder) AddFloat64KeyOmitEmpty(key string, v float64) + func (enc *Encoder) AddFloat64OmitEmpty(v float64) + func (enc *Encoder) AddFloatKey(key string, v float64) + func (enc *Encoder) AddFloatKeyNullEmpty(key string, v float64) + func (enc *Encoder) AddFloatKeyOmitEmpty(key string, v float64) + func (enc *Encoder) AddFloatNullEmpty(v float64) + func (enc *Encoder) AddFloatOmitEmpty(v float64) + func (enc *Encoder) AddInt(v int) + func (enc *Encoder) AddInt16(v int16) + func (enc *Encoder) AddInt16Key(key string, v int16) + func (enc *Encoder) AddInt16KeyNullEmpty(key string, v int16) + func (enc *Encoder) AddInt16KeyOmitEmpty(key string, v int16) + func (enc *Encoder) AddInt16OmitEmpty(v int16) + func (enc *Encoder) AddInt32(v int32) + func (enc *Encoder) AddInt32Key(key string, v int32) + func (enc *Encoder) AddInt32KeyOmitEmpty(key string, v int32) + func (enc *Encoder) AddInt32NullEmpty(v int32) + func (enc *Encoder) AddInt32OmitEmpty(v int32) + func (enc *Encoder) AddInt64(v int64) + func (enc *Encoder) AddInt64Key(key string, v int64) + func (enc *Encoder) AddInt64KeyNullEmpty(key string, v int64) + func (enc *Encoder) AddInt64KeyOmitEmpty(key string, v int64) + func (enc *Encoder) AddInt64NullEmpty(v int64) + func (enc *Encoder) AddInt64OmitEmpty(v int64) + func (enc *Encoder) AddInt8(v int8) + func (enc *Encoder) AddInt8Key(key string, v int8) + func (enc *Encoder) AddInt8KeyNullEmpty(key string, v int8) + func (enc *Encoder) AddInt8KeyOmitEmpty(key string, v int8) + func (enc *Encoder) AddInt8NullEmpty(v int8) + func (enc *Encoder) AddInt8OmitEmpty(v int8) + func (enc *Encoder) AddIntKey(key string, v int) + func (enc *Encoder) AddIntKeyNullEmpty(key string, v int) + func (enc *Encoder) AddIntKeyOmitEmpty(key string, v int) + func (enc *Encoder) AddIntNullEmpty(v int) + func (enc *Encoder) AddIntOmitEmpty(v int) + func (enc *Encoder) AddInterface(value interface{}) + func (enc *Encoder) AddInterfaceKey(key string, value interface{}) + func (enc *Encoder) AddInterfaceKeyOmitEmpty(key string, v interface{}) + func (enc *Encoder) AddNull() + func (enc *Encoder) AddNullKey(key string) + func (enc *Encoder) AddObject(v MarshalerJSONObject) + func (enc *Encoder) AddObjectKey(key string, v MarshalerJSONObject) + func (enc *Encoder) AddObjectKeyNullEmpty(key string, v MarshalerJSONObject) + func (enc *Encoder) AddObjectKeyOmitEmpty(key string, v MarshalerJSONObject) + func (enc *Encoder) AddObjectNullEmpty(v MarshalerJSONObject) + func (enc *Encoder) AddObjectOmitEmpty(v MarshalerJSONObject) + func (enc *Encoder) AddSQLNullBool(v *sql.NullBool) + func (enc *Encoder) AddSQLNullBoolKey(key string, v *sql.NullBool) + func (enc *Encoder) AddSQLNullBoolKeyNullEmpty(key string, v *sql.NullBool) + func (enc *Encoder) AddSQLNullBoolKeyOmitEmpty(key string, v *sql.NullBool) + func (enc *Encoder) AddSQLNullBoolOmitEmpty(v *sql.NullBool) + func (enc *Encoder) AddSQLNullFloat64(v *sql.NullFloat64) + func (enc *Encoder) AddSQLNullFloat64Key(key string, v *sql.NullFloat64) + func (enc *Encoder) AddSQLNullFloat64KeyNullEmpty(key string, v *sql.NullFloat64) + func (enc *Encoder) AddSQLNullFloat64KeyOmitEmpty(key string, v *sql.NullFloat64) + func (enc *Encoder) AddSQLNullFloat64NullEmpty(v *sql.NullFloat64) + func (enc *Encoder) AddSQLNullFloat64OmitEmpty(v *sql.NullFloat64) + func (enc *Encoder) AddSQLNullInt64(v *sql.NullInt64) + func (enc *Encoder) AddSQLNullInt64Key(key string, v *sql.NullInt64) + func (enc *Encoder) AddSQLNullInt64KeyNullEmpty(key string, v *sql.NullInt64) + func (enc *Encoder) AddSQLNullInt64KeyOmitEmpty(key string, v *sql.NullInt64) + func (enc *Encoder) AddSQLNullInt64NullEmpty(v *sql.NullInt64) + func (enc *Encoder) AddSQLNullInt64OmitEmpty(v *sql.NullInt64) + func (enc *Encoder) AddSQLNullString(v *sql.NullString) + func (enc *Encoder) AddSQLNullStringKey(key string, v *sql.NullString) + func (enc *Encoder) AddSQLNullStringKeyOmitEmpty(key string, v *sql.NullString) + func (enc *Encoder) AddSQLNullStringNullEmpty(v *sql.NullString) + func (enc *Encoder) AddSQLNullStringOmitEmpty(v *sql.NullString) + func (enc *Encoder) AddSliceBool(s []bool) + func (enc *Encoder) AddSliceBoolKey(k string, s []bool) + func (enc *Encoder) AddSliceFloat64(s []float64) + func (enc *Encoder) AddSliceFloat64Key(k string, s []float64) + func (enc *Encoder) AddSliceInt(s []int) + func (enc *Encoder) AddSliceIntKey(k string, s []int) + func (enc *Encoder) AddSliceString(s []string) + func (enc *Encoder) AddSliceStringKey(k string, s []string) + func (enc *Encoder) AddString(v string) + func (enc *Encoder) AddStringKey(key, v string) + func (enc *Encoder) AddStringKeyNullEmpty(key, v string) + func (enc *Encoder) AddStringKeyOmitEmpty(key, v string) + func (enc *Encoder) AddStringNullEmpty(v string) + func (enc *Encoder) AddStringOmitEmpty(v string) + func (enc *Encoder) AddTime(t *time.Time, format string) + func (enc *Encoder) AddTimeKey(key string, t *time.Time, format string) + func (enc *Encoder) AddUint16(v uint16) + func (enc *Encoder) AddUint16Key(key string, v uint16) + func (enc *Encoder) AddUint16KeyNullEmpty(key string, v uint16) + func (enc *Encoder) AddUint16KeyOmitEmpty(key string, v uint16) + func (enc *Encoder) AddUint16NullEmpty(v uint16) + func (enc *Encoder) AddUint16OmitEmpty(v uint16) + func (enc *Encoder) AddUint32(v uint32) + func (enc *Encoder) AddUint32Key(key string, v uint32) + func (enc *Encoder) AddUint32KeyNullEmpty(key string, v uint32) + func (enc *Encoder) AddUint32KeyOmitEmpty(key string, v uint32) + func (enc *Encoder) AddUint32NullEmpty(v uint32) + func (enc *Encoder) AddUint32OmitEmpty(v uint32) + func (enc *Encoder) AddUint64(v uint64) + func (enc *Encoder) AddUint64Key(key string, v uint64) + func (enc *Encoder) AddUint64KeyNullEmpty(key string, v uint64) + func (enc *Encoder) AddUint64KeyOmitEmpty(key string, v uint64) + func (enc *Encoder) AddUint64NullEmpty(v uint64) + func (enc *Encoder) AddUint64OmitEmpty(v uint64) + func (enc *Encoder) AddUint8(v uint8) + func (enc *Encoder) AddUint8Key(key string, v uint8) + func (enc *Encoder) AddUint8KeyNullEmpty(key string, v uint8) + func (enc *Encoder) AddUint8KeyOmitEmpty(key string, v uint8) + func (enc *Encoder) AddUint8NullEmpty(v uint8) + func (enc *Encoder) AddUint8OmitEmpty(v uint8) + func (enc *Encoder) AppendByte(b byte) + func (enc *Encoder) AppendBytes(b []byte) + func (enc *Encoder) AppendString(v string) + func (enc *Encoder) Array(v MarshalerJSONArray) + func (enc *Encoder) ArrayKey(key string, v MarshalerJSONArray) + func (enc *Encoder) ArrayKeyNullEmpty(key string, v MarshalerJSONArray) + func (enc *Encoder) ArrayKeyOmitEmpty(key string, v MarshalerJSONArray) + func (enc *Encoder) ArrayNullEmpty(v MarshalerJSONArray) + func (enc *Encoder) ArrayOmitEmpty(v MarshalerJSONArray) + func (enc *Encoder) Bool(v bool) + func (enc *Encoder) BoolKey(key string, value bool) + func (enc *Encoder) BoolKeyNullEmpty(key string, v bool) + func (enc *Encoder) BoolKeyOmitEmpty(key string, v bool) + func (enc *Encoder) BoolNullEmpty(v bool) + func (enc *Encoder) BoolOmitEmpty(v bool) + func (enc *Encoder) Buf() []byte + func (enc *Encoder) Encode(v interface{}) error + func (enc *Encoder) EncodeArray(v MarshalerJSONArray) error + func (enc *Encoder) EncodeBool(v bool) error + func (enc *Encoder) EncodeEmbeddedJSON(v *EmbeddedJSON) error + func (enc *Encoder) EncodeFloat(n float64) error + func (enc *Encoder) EncodeFloat32(n float32) error + func (enc *Encoder) EncodeInt(n int) error + func (enc *Encoder) EncodeInt64(n int64) error + func (enc *Encoder) EncodeObject(v MarshalerJSONObject) error + func (enc *Encoder) EncodeObjectKeys(v MarshalerJSONObject, keys []string) error + func (enc *Encoder) EncodeSQLNullBool(v *sql.NullBool) error + func (enc *Encoder) EncodeSQLNullFloat64(v *sql.NullFloat64) error + func (enc *Encoder) EncodeSQLNullInt64(v *sql.NullInt64) error + func (enc *Encoder) EncodeSQLNullString(v *sql.NullString) error + func (enc *Encoder) EncodeString(s string) error + func (enc *Encoder) EncodeTime(t *time.Time, format string) error + func (enc *Encoder) EncodeUint64(n uint64) error + func (enc *Encoder) Float(v float64) + func (enc *Encoder) Float32(v float32) + func (enc *Encoder) Float32Key(key string, v float32) + func (enc *Encoder) Float32KeyNullEmpty(key string, v float32) + func (enc *Encoder) Float32KeyOmitEmpty(key string, v float32) + func (enc *Encoder) Float32NullEmpty(v float32) + func (enc *Encoder) Float32OmitEmpty(v float32) + func (enc *Encoder) Float64(v float64) + func (enc *Encoder) Float64Key(key string, value float64) + func (enc *Encoder) Float64KeyNullEmpty(key string, v float64) + func (enc *Encoder) Float64KeyOmitEmpty(key string, v float64) + func (enc *Encoder) Float64NullEmpty(v float64) + func (enc *Encoder) Float64OmitEmpty(v float64) + func (enc *Encoder) FloatKey(key string, v float64) + func (enc *Encoder) FloatKeyNullEmpty(key string, v float64) + func (enc *Encoder) FloatKeyOmitEmpty(key string, v float64) + func (enc *Encoder) FloatNullEmpty(v float64) + func (enc *Encoder) FloatOmitEmpty(v float64) + func (enc *Encoder) Int(v int) + func (enc *Encoder) Int16(v int16) + func (enc *Encoder) Int16Key(key string, v int16) + func (enc *Encoder) Int16KeyNullEmpty(key string, v int16) + func (enc *Encoder) Int16KeyOmitEmpty(key string, v int16) + func (enc *Encoder) Int16NullEmpty(v int16) + func (enc *Encoder) Int16OmitEmpty(v int16) + func (enc *Encoder) Int32(v int32) + func (enc *Encoder) Int32Key(key string, v int32) + func (enc *Encoder) Int32KeyNullEmpty(key string, v int32) + func (enc *Encoder) Int32KeyOmitEmpty(key string, v int32) + func (enc *Encoder) Int32NullEmpty(v int32) + func (enc *Encoder) Int32OmitEmpty(v int32) + func (enc *Encoder) Int64(v int64) + func (enc *Encoder) Int64Key(key string, v int64) + func (enc *Encoder) Int64KeyNullEmpty(key string, v int64) + func (enc *Encoder) Int64KeyOmitEmpty(key string, v int64) + func (enc *Encoder) Int64NullEmpty(v int64) + func (enc *Encoder) Int64OmitEmpty(v int64) + func (enc *Encoder) Int8(v int8) + func (enc *Encoder) Int8Key(key string, v int8) + func (enc *Encoder) Int8KeyNullEmpty(key string, v int8) + func (enc *Encoder) Int8KeyOmitEmpty(key string, v int8) + func (enc *Encoder) Int8NullEmpty(v int8) + func (enc *Encoder) Int8OmitEmpty(v int8) + func (enc *Encoder) IntKey(key string, v int) + func (enc *Encoder) IntKeyNullEmpty(key string, v int) + func (enc *Encoder) IntKeyOmitEmpty(key string, v int) + func (enc *Encoder) IntNullEmpty(v int) + func (enc *Encoder) IntOmitEmpty(v int) + func (enc *Encoder) Null() + func (enc *Encoder) NullKey(key string) + func (enc *Encoder) Object(v MarshalerJSONObject) + func (enc *Encoder) ObjectKey(key string, v MarshalerJSONObject) + func (enc *Encoder) ObjectKeyNullEmpty(key string, v MarshalerJSONObject) + func (enc *Encoder) ObjectKeyOmitEmpty(key string, v MarshalerJSONObject) + func (enc *Encoder) ObjectKeyWithKeys(key string, value MarshalerJSONObject, keys []string) + func (enc *Encoder) ObjectNullEmpty(v MarshalerJSONObject) + func (enc *Encoder) ObjectOmitEmpty(v MarshalerJSONObject) + func (enc *Encoder) ObjectWithKeys(v MarshalerJSONObject, keys []string) + func (enc *Encoder) Release() + func (enc *Encoder) SQLNullBool(v *sql.NullBool) + func (enc *Encoder) SQLNullBoolKey(key string, v *sql.NullBool) + func (enc *Encoder) SQLNullBoolKeyNullEmpty(key string, v *sql.NullBool) + func (enc *Encoder) SQLNullBoolKeyOmitEmpty(key string, v *sql.NullBool) + func (enc *Encoder) SQLNullBoolNullEmpty(v *sql.NullBool) + func (enc *Encoder) SQLNullBoolOmitEmpty(v *sql.NullBool) + func (enc *Encoder) SQLNullFloat64(v *sql.NullFloat64) + func (enc *Encoder) SQLNullFloat64Key(key string, v *sql.NullFloat64) + func (enc *Encoder) SQLNullFloat64KeyNullEmpty(key string, v *sql.NullFloat64) + func (enc *Encoder) SQLNullFloat64KeyOmitEmpty(key string, v *sql.NullFloat64) + func (enc *Encoder) SQLNullFloat64NullEmpty(v *sql.NullFloat64) + func (enc *Encoder) SQLNullFloat64OmitEmpty(v *sql.NullFloat64) + func (enc *Encoder) SQLNullInt64(v *sql.NullInt64) + func (enc *Encoder) SQLNullInt64Key(key string, v *sql.NullInt64) + func (enc *Encoder) SQLNullInt64KeyNullEmpty(key string, v *sql.NullInt64) + func (enc *Encoder) SQLNullInt64KeyOmitEmpty(key string, v *sql.NullInt64) + func (enc *Encoder) SQLNullInt64NullEmpty(v *sql.NullInt64) + func (enc *Encoder) SQLNullInt64OmitEmpty(v *sql.NullInt64) + func (enc *Encoder) SQLNullString(v *sql.NullString) + func (enc *Encoder) SQLNullStringKey(key string, v *sql.NullString) + func (enc *Encoder) SQLNullStringKeyNullEmpty(key string, v *sql.NullString) + func (enc *Encoder) SQLNullStringKeyOmitEmpty(key string, v *sql.NullString) + func (enc *Encoder) SQLNullStringNullEmpty(v *sql.NullString) + func (enc *Encoder) SQLNullStringOmitEmpty(v *sql.NullString) + func (enc *Encoder) SliceBool(s []bool) + func (enc *Encoder) SliceBoolKey(k string, s []bool) + func (enc *Encoder) SliceFloat64(s []float64) + func (enc *Encoder) SliceFloat64Key(k string, s []float64) + func (enc *Encoder) SliceInt(s []int) + func (enc *Encoder) SliceIntKey(k string, s []int) + func (enc *Encoder) SliceString(s []string) + func (enc *Encoder) SliceStringKey(k string, s []string) + func (enc *Encoder) String(v string) + func (enc *Encoder) StringKey(key, v string) + func (enc *Encoder) StringKeyNullEmpty(key, v string) + func (enc *Encoder) StringKeyOmitEmpty(key, v string) + func (enc *Encoder) StringNullEmpty(v string) + func (enc *Encoder) StringOmitEmpty(v string) + func (enc *Encoder) Time(t *time.Time, format string) + func (enc *Encoder) TimeKey(key string, t *time.Time, format string) + func (enc *Encoder) Uint16(v uint16) + func (enc *Encoder) Uint16Key(key string, v uint16) + func (enc *Encoder) Uint16KeyNullEmpty(key string, v uint16) + func (enc *Encoder) Uint16KeyOmitEmpty(key string, v uint16) + func (enc *Encoder) Uint16NullEmpty(v uint16) + func (enc *Encoder) Uint16OmitEmpty(v uint16) + func (enc *Encoder) Uint32(v uint32) + func (enc *Encoder) Uint32Key(key string, v uint32) + func (enc *Encoder) Uint32KeyNullEmpty(key string, v uint32) + func (enc *Encoder) Uint32KeyOmitEmpty(key string, v uint32) + func (enc *Encoder) Uint32NullEmpty(v uint32) + func (enc *Encoder) Uint32OmitEmpty(v uint32) + func (enc *Encoder) Uint64(v uint64) + func (enc *Encoder) Uint64Key(key string, v uint64) + func (enc *Encoder) Uint64KeyNullEmpty(key string, v uint64) + func (enc *Encoder) Uint64KeyOmitEmpty(key string, v uint64) + func (enc *Encoder) Uint64NullEmpty(v uint64) + func (enc *Encoder) Uint64OmitEmpty(v uint64) + func (enc *Encoder) Uint8(v uint8) + func (enc *Encoder) Uint8Key(key string, v uint8) + func (enc *Encoder) Uint8KeyNullEmpty(key string, v uint8) + func (enc *Encoder) Uint8KeyOmitEmpty(key string, v uint8) + func (enc *Encoder) Uint8NullEmpty(v uint8) + func (enc *Encoder) Uint8OmitEmpty(v uint8) + func (enc *Encoder) Write() (int, error) + type InvalidJSONError string + func (err InvalidJSONError) Error() string + type InvalidMarshalError string + func (err InvalidMarshalError) Error() string + type InvalidUnmarshalError string + func (err InvalidUnmarshalError) Error() string + type InvalidUsagePooledDecoderError string + func (err InvalidUsagePooledDecoderError) Error() string + type InvalidUsagePooledEncoderError string + func (err InvalidUsagePooledEncoderError) Error() string + type MarshalerJSONArray interface + IsNil func() bool + MarshalJSONArray func(enc *Encoder) + type MarshalerJSONObject interface + IsNil func() bool + MarshalJSONObject func(enc *Encoder) + type MarshalerStream interface + MarshalStream func(enc *StreamEncoder) + type NoReaderError string + func (err NoReaderError) Error() string + type StreamDecoder struct + func (dec *StreamDecoder) Deadline() (time.Time, bool) + func (dec *StreamDecoder) DecodeStream(c UnmarshalerStream) error + func (dec *StreamDecoder) Done() <-chan struct{} + func (dec *StreamDecoder) Err() error + func (dec *StreamDecoder) Release() + func (dec *StreamDecoder) SetDeadline(t time.Time) + func (dec *StreamDecoder) Value(key interface{}) interface{} + type StreamEncoder struct + func (s *StreamEncoder) AddArray(v MarshalerJSONArray) + func (s *StreamEncoder) AddFloat(value float64) + func (s *StreamEncoder) AddFloat64(value float64) + func (s *StreamEncoder) AddInt(value int) + func (s *StreamEncoder) AddObject(v MarshalerJSONObject) + func (s *StreamEncoder) AddString(v string) + func (s *StreamEncoder) Cancel(err error) + func (s *StreamEncoder) CommaDelimited() *StreamEncoder + func (s *StreamEncoder) Deadline() (time.Time, bool) + func (s *StreamEncoder) Done() <-chan struct{} + func (s *StreamEncoder) EncodeStream(m MarshalerStream) + func (s *StreamEncoder) Err() error + func (s *StreamEncoder) LineDelimited() *StreamEncoder + func (s *StreamEncoder) NConsumer(n int) *StreamEncoder + func (s *StreamEncoder) Release() + func (s *StreamEncoder) SetDeadline(t time.Time) + func (s *StreamEncoder) Value(key interface{}) interface{} + type UnmarshalerJSONArray interface + UnmarshalJSONArray func(*Decoder) error + type UnmarshalerJSONObject interface + NKeys func() int + UnmarshalJSONObject func(*Decoder, string) error + type UnmarshalerStream interface + UnmarshalStream func(*StreamDecoder) error