Documentation ¶
Index ¶
- func EncodeArrayBegin(buf []byte) []byte
- func EncodeArrayComma(buf []byte) []byte
- func EncodeArrayEnd(buf []byte) []byte
- func EncodeBaniry(buf []byte, val []byte) []byte
- func EncodeBase64(buf []byte, val []byte) []byte
- func EncodeBool(buf []byte, val bool) []byte
- func EncodeEmptyArray(buf []byte) []byte
- func EncodeEmptyObject(buf []byte) []byte
- func EncodeFloat64(buf []byte, val float64) []byte
- func EncodeInt64(buf []byte, val int64) []byte
- func EncodeNull(buf []byte) []byte
- func EncodeObjectBegin(buf []byte) []byte
- func EncodeObjectColon(buf []byte) []byte
- func EncodeObjectComma(buf []byte) []byte
- func EncodeObjectEnd(buf []byte) []byte
- func EncodeString(buf []byte, val string) []byte
- func IsSpace(c byte) bool
- func NoQuote(buf *[]byte, val string)
- func SkipBlank(src string, pos int) int
- type SyntaxError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EncodeArrayBegin ¶
func EncodeArrayComma ¶
func EncodeArrayEnd ¶
func EncodeBaniry ¶
func EncodeBase64 ¶
func EncodeBool ¶
func EncodeEmptyArray ¶
func EncodeEmptyObject ¶
func EncodeFloat64 ¶
func EncodeInt64 ¶
func EncodeNull ¶
func EncodeObjectBegin ¶
func EncodeObjectColon ¶
func EncodeObjectComma ¶
func EncodeObjectEnd ¶
func EncodeString ¶
Types ¶
type SyntaxError ¶
type SyntaxError struct { Pos int Src string Code types.ParsingError Msg string }
func (SyntaxError) Description ¶
func (self SyntaxError) Description() string
func (SyntaxError) Error ¶
func (self SyntaxError) Error() string
func (SyntaxError) Locate ¶
func (self SyntaxError) Locate() string
func (SyntaxError) Message ¶
func (self SyntaxError) Message() string
Click to show internal directories.
Click to hide internal directories.