You've already forked json-iterator
mirror of
https://github.com/json-iterator/go.git
synced 2025-06-15 22:50:24 +02:00
add Any GetInterface
This commit is contained in:
@ -73,4 +73,9 @@ func (any *floatLazyAny) ToString() string {
|
||||
|
||||
func (any *floatLazyAny) WriteTo(stream *Stream) {
|
||||
stream.Write(any.buf)
|
||||
}
|
||||
|
||||
func (any *floatLazyAny) GetInterface() interface{} {
|
||||
any.fillCache()
|
||||
return any.cache
|
||||
}
|
Reference in New Issue
Block a user