Documentation ¶
Index ¶
- Constants
- func Compact(p *[]byte, v []byte) error
- func EncodeJsonMarshaler(buf *[]byte, val json.Marshaler, opt uint64) error
- func EncodeNil(rb *[]byte) error
- func EncodeTextMarshaler(buf *[]byte, val encoding.TextMarshaler, opt uint64) error
- func F32toa(buf []byte, v float32) []byte
- func F64toa(buf []byte, v float64) []byte
- func HtmlEscape(dst []byte, src []byte) []byte
- func I64toa(buf []byte, v int64) []byte
- func IteratorNext(p *MapIterator)
- func IteratorStop(p *MapIterator)
- func Quote(buf []byte, val string, double bool) []byte
- func U64toa(buf []byte, v uint64) []byte
- func Valid(data []byte) (ok bool, start int)
- type MapIterator
Constants ¶
View Source
const ( BitSortMapKeys = iota BitEscapeHTML BitCompactMarshaler BitNoQuoteTextMarshaler BitNoNullSliceOrMap BitValidateString BitNoValidateJSONMarshaler BitNoEncoderNewline BitEncodeNullForInfOrNan BitPointerValue = 63 )
Variables ¶
This section is empty.
Functions ¶
func EncodeJsonMarshaler ¶
func EncodeTextMarshaler ¶
func EncodeTextMarshaler(buf *[]byte, val encoding.TextMarshaler, opt uint64) error
func HtmlEscape ¶
func IteratorNext ¶
func IteratorNext(p *MapIterator)
func IteratorStop ¶
func IteratorStop(p *MapIterator)
Types ¶
type MapIterator ¶
type MapIterator struct { It rt.GoMapIterator // must be the first field // contains filtered or unexported fields }
func IteratorStart ¶
Click to show internal directories.
Click to hide internal directories.