You've already forked json-iterator
mirror of
https://github.com/json-iterator/go.git
synced 2025-06-15 22:50:24 +02:00
wrap float
This commit is contained in:
@ -65,7 +65,11 @@ func (any *baseAny) SetObject(map[string]Any) bool {
|
||||
}
|
||||
|
||||
func WrapInt64(val int64) Any {
|
||||
return &intAny{baseAny{}, nil, val}
|
||||
return &intAny{baseAny{}, val}
|
||||
}
|
||||
|
||||
func WrapFloat64(val float64) Any {
|
||||
return &floatAny{baseAny{}, val}
|
||||
}
|
||||
|
||||
func (iter *Iterator) ReadAny() Any {
|
||||
|
Reference in New Issue
Block a user