Documentation ¶
Index ¶
- Constants
- func MustReadJsonByteSlice(ctx *Context) (outB []byte)
- func MustReadJsonNull(ctx *Context)
- func PoolPutContextWithWriteBuf(ctx *Context)
- func ReadJsonBool(ctx *Context) bool
- func ReadJsonFloat32(ctx *Context) float32
- func ReadJsonFloat64(ctx *Context) float64
- func ReadJsonInt64(ctx *Context) int64
- func ReadJsonInt64FromString(ctx *Context) int64
- func ReadJsonString(ctx *Context) string
- func ReadJsonTime(ctx *Context) time.Time
- func ReadJsonTmpString(ctx *Context) (s string)
- func ReadJsonUint64(ctx *Context) uint64
- func ReadJsonUint64FromString(ctx *Context) uint64
- func ReaderGetRemainByteSlice(ctx *Context) []byte
- func ReaderReadBack(ctx *Context, size int)
- func ReaderReadByte(ctx *Context) byte
- func ReaderReadMapValueByteList(ctx *Context) []byte
- func ReaderReadPosAdd(ctx *Context, size int)
- func ReaderReadSpace(ctx *Context)
- func ReaderSetData(ctx *Context, data []byte)
- func ReaderSkipMapValue(ctx *Context)
- func WriteIfEmptyStruct(ctx *Context) bool
- func WriteJsonByteSlice(ctx *Context, buf []byte)
- func WriteJsonFloat32(ctx *Context, f float32)
- func WriteJsonFloat64(ctx *Context, f float64)
- func WriteJsonInt64(ctx *Context, i int64)
- func WriteJsonInt64AsString(ctx *Context, i int64)
- func WriteJsonString(ctx *Context, s string)
- func WriteJsonTime(ctx *Context, t time.Time)
- func WriteJsonUint64(ctx *Context, i uint64)
- func WriteJsonUint64AsString(ctx *Context, i uint64)
- func WritePosAdd(ctx *Context, offset int)
- func WriterWriteByte(ctx *Context, b byte)
- func WriterWriteByteList(ctx *Context, s []byte)
- func WriterWriteString(ctx *Context, s string)
- type Context
Constants ¶
View Source
const ComfirmGolangJsonLibBugTag = "c77m5xn7zg"
Variables ¶
This section is empty.
Functions ¶
func MustReadJsonByteSlice ¶
func MustReadJsonNull ¶
func MustReadJsonNull(ctx *Context)
func PoolPutContextWithWriteBuf ¶
func PoolPutContextWithWriteBuf(ctx *Context)
func ReadJsonBool ¶
func ReadJsonFloat32 ¶
func ReadJsonFloat64 ¶
func ReadJsonInt64 ¶
func ReadJsonInt64FromString ¶
func ReadJsonString ¶
func ReadJsonTime ¶
func ReadJsonTmpString ¶
func ReadJsonUint64 ¶
func ReaderReadBack ¶
func ReaderReadByte ¶
func ReaderReadPosAdd ¶
func ReaderReadSpace ¶
func ReaderReadSpace(ctx *Context)
func ReaderSetData ¶
func ReaderSkipMapValue ¶
func ReaderSkipMapValue(ctx *Context)
func WriteIfEmptyStruct ¶
func WriteJsonByteSlice ¶
func WriteJsonFloat32 ¶
func WriteJsonFloat64 ¶
func WriteJsonInt64 ¶
func WriteJsonInt64AsString ¶
func WriteJsonString ¶
func WriteJsonTime ¶
func WriteJsonUint64 ¶
func WriteJsonUint64AsString ¶
func WritePosAdd ¶
func WriterWriteByte ¶
func WriterWriteByteList ¶
func WriterWriteString ¶
Types ¶
type Context ¶
type Context struct {
// contains filtered or unexported fields
}
func NewContext ¶
func NewContext() *Context
func NewContextFromBuffer ¶
func PoolGetContextForRead ¶
func PoolGetContextWithWriteBuf ¶
func PoolGetContextWithWriteBuf() *Context
func (*Context) CopyWriterDataToReaderData ¶
func (ctx *Context) CopyWriterDataToReaderData()
func (*Context) ReaderReadSpaceAndIsEof ¶
func (*Context) ReaderReset ¶
func (ctx *Context) ReaderReset()
func (*Context) WriterBytes ¶
func (*Context) WriterReset ¶
func (ctx *Context) WriterReset()
Click to show internal directories.
Click to hide internal directories.