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

type Any

type baseAny

func (any *baseAny) Get(path ...interface{}

func (any *baseAny) Size() int {}

func (any *baseAny) Keys() []string {}

func (any *baseAny) ToVal(obj interface{}

// WrapInt32 turn int32 into Any interface
func WrapInt32(val int32) Any {}

// WrapInt64 turn int64 into Any interface
func WrapInt64(val int64) Any {}

// WrapUint32 turn uint32 into Any interface
func WrapUint32(val uint32) Any {}

// WrapUint64 turn uint64 into Any interface
func WrapUint64(val uint64) Any {}

// WrapFloat64 turn float64 into Any interface
func WrapFloat64(val float64) Any {}

// WrapString turn string into Any interface
func WrapString(val string) Any {}

// Wrap turn a go object into Any interface
func Wrap(val interface{}

// ReadAny read next JSON element as an Any object. It is a better json.RawMessage.
func (iter *Iterator) ReadAny() Any {}

func (iter *Iterator) readAny() Any {}

func (iter *Iterator) readNumberAny(positive bool) Any {}

func (iter *Iterator) readObjectAny() Any {}

func (iter *Iterator) readArrayAny() Any {}

func locateObjectField(iter *Iterator, target string) []byte {}

func locateArrayElement(iter *Iterator, target int) []byte {}

func locatePath(iter *Iterator, path []interface{}

var anyType

func createDecoderOfAny(ctx *ctx, typ reflect2.Type) ValDecoder {}

func createEncoderOfAny(ctx *ctx, typ reflect2.Type) ValEncoder {}

type anyCodec

func (codec *anyCodec) Decode(ptr unsafe.Pointer, iter *Iterator) {}

func (codec *anyCodec) Encode(ptr unsafe.Pointer, stream *Stream) {}

func (codec *anyCodec) IsEmpty(ptr unsafe.Pointer) bool {}

type directAnyCodec

func (codec *directAnyCodec) Decode(ptr unsafe.Pointer, iter *Iterator) {}

func (codec *directAnyCodec) Encode(ptr unsafe.Pointer, stream *Stream) {}

func (codec *directAnyCodec) IsEmpty(ptr unsafe.Pointer) bool {}