kubernetes/vendor/github.com/json-iterator/go/iter.go

type ValueType

const InvalidValue

const StringValue

const NumberValue

const NilValue

const BoolValue

const ArrayValue

const ObjectValue

var hexDigits

var valueTypes

func init() {}

type Iterator

// NewIterator creates an empty Iterator instance
func NewIterator(cfg API) *Iterator {}

// Parse creates an Iterator instance from io.Reader
func Parse(cfg API, reader io.Reader, bufSize int) *Iterator {}

// ParseBytes creates an Iterator instance from byte array
func ParseBytes(cfg API, input []byte) *Iterator {}

// ParseString creates an Iterator instance from string
func ParseString(cfg API, input string) *Iterator {}

// Pool returns a pool can provide more iterator with same configuration
func (iter *Iterator) Pool() IteratorPool {}

// Reset reuse iterator instance by specifying another reader
func (iter *Iterator) Reset(reader io.Reader) *Iterator {}

// ResetBytes reuse iterator instance by specifying another byte array as input
func (iter *Iterator) ResetBytes(input []byte) *Iterator {}

// WhatIsNext gets ValueType of relatively next json element
func (iter *Iterator) WhatIsNext() ValueType {}

func (iter *Iterator) skipWhitespacesWithoutLoadMore() bool {}

func (iter *Iterator) isObjectEnd() bool {}

func (iter *Iterator) nextToken() byte {}

// ReportError record a error in iterator instance with current position.
func (iter *Iterator) ReportError(operation string, msg string) {}

// CurrentBuffer gets current buffer as string for debugging purpose
func (iter *Iterator) CurrentBuffer() string {}

func (iter *Iterator) readByte() (ret byte) {}

func (iter *Iterator) loadMore() bool {}

func (iter *Iterator) unreadByte() {}

// Read read the next JSON element as generic interface{}.
func (iter *Iterator) Read() interface{}

const maxDepth

func (iter *Iterator) incrementDepth() (success bool) {}

func (iter *Iterator) decrementDepth() (success bool) {}