You've already forked json-iterator
mirror of
https://github.com/json-iterator/go.git
synced 2025-06-15 22:50:24 +02:00
Any Get will never return nil
This commit is contained in:
@ -12,6 +12,10 @@ type stringLazyAny struct{
|
||||
cache string
|
||||
}
|
||||
|
||||
func (any *stringLazyAny) ValueType() ValueType {
|
||||
return String
|
||||
}
|
||||
|
||||
func (any *stringLazyAny) Parse() *Iterator {
|
||||
iter := any.iter
|
||||
if iter == nil {
|
||||
|
Reference in New Issue
Block a user