Documentation
¶
Overview ¶
Package jsonencoder References encoding/json/tables.go
Index ¶
- type Encoder
- func (enc *Encoder) AppendBool(v bool)
- func (enc *Encoder) AppendBytes(v []byte)
- func (enc *Encoder) AppendFloat32(v float32)
- func (enc *Encoder) AppendFloat64(v float64)
- func (enc *Encoder) AppendInt32(v int32)
- func (enc *Encoder) AppendInt64(v int64)
- func (enc *Encoder) AppendInterface(v interface{}) error
- func (enc *Encoder) AppendListBegin()
- func (enc *Encoder) AppendListEnd()
- func (enc *Encoder) AppendNil()
- func (enc *Encoder) AppendObjectBegin()
- func (enc *Encoder) AppendObjectEnd()
- func (enc *Encoder) AppendObjectKey(k string)
- func (enc *Encoder) AppendString(v string)
- func (enc *Encoder) AppendUint32(v uint32)
- func (enc *Encoder) AppendUint64(v uint64)
- func (enc *Encoder) Bytes() []byte
- func (enc *Encoder) Write(p []byte) (n int, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Encoder ¶
type Encoder struct {
// contains filtered or unexported fields
}
func (*Encoder) AppendBool ¶
func (*Encoder) AppendBytes ¶
func (*Encoder) AppendFloat32 ¶
func (*Encoder) AppendFloat64 ¶
func (*Encoder) AppendInt32 ¶
func (*Encoder) AppendInt64 ¶
func (*Encoder) AppendInterface ¶
func (*Encoder) AppendListBegin ¶
func (enc *Encoder) AppendListBegin()
func (*Encoder) AppendListEnd ¶
func (enc *Encoder) AppendListEnd()
func (*Encoder) AppendObjectBegin ¶
func (enc *Encoder) AppendObjectBegin()
func (*Encoder) AppendObjectEnd ¶
func (enc *Encoder) AppendObjectEnd()
func (*Encoder) AppendObjectKey ¶
func (*Encoder) AppendString ¶
func (*Encoder) AppendUint32 ¶
func (*Encoder) AppendUint64 ¶
Click to show internal directories.
Click to hide internal directories.