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

type Number

// String returns the literal text of the number.
func (n Number) String() string {}

// Float64 returns the number as a float64.
func (n Number) Float64() (float64, error) {}

// Int64 returns the number as an int64.
func (n Number) Int64() (int64, error) {}

func CastJsonNumber(val interface{}

var jsonNumberType

var jsoniterNumberType

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

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

type jsonNumberCodec

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

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

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

type jsoniterNumberCodec

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

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

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