You've already forked json-iterator
mirror of
https://github.com/json-iterator/go.git
synced 2025-06-15 22:50:24 +02:00
int lazy any
This commit is contained in:
39
feature_any_float.go
Normal file
39
feature_any_float.go
Normal file
@ -0,0 +1,39 @@
|
||||
package jsoniter
|
||||
|
||||
type floatLazyAny struct {
|
||||
buf []byte
|
||||
iter *Iterator
|
||||
err error
|
||||
}
|
||||
|
||||
func (any *floatLazyAny) LastError() error {
|
||||
return any.err
|
||||
}
|
||||
|
||||
func (any *floatLazyAny) ToBool() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
func (any *floatLazyAny) ToInt() int {
|
||||
return 0
|
||||
}
|
||||
|
||||
func (any *floatLazyAny) ToInt32() int32 {
|
||||
return 0
|
||||
}
|
||||
|
||||
func (any *floatLazyAny) ToInt64() int64 {
|
||||
return 0
|
||||
}
|
||||
|
||||
func (any *floatLazyAny) ToFloat32() float32 {
|
||||
return 0
|
||||
}
|
||||
|
||||
func (any *floatLazyAny) ToFloat64() float64 {
|
||||
return 0
|
||||
}
|
||||
|
||||
func (any *floatLazyAny) ToString() string {
|
||||
return ""
|
||||
}
|
Reference in New Issue
Block a user