You've already forked json-iterator
mirror of
https://github.com/json-iterator/go.git
synced 2025-07-06 23:37:39 +02:00
check null/true/false
This commit is contained in:
@ -275,7 +275,7 @@ func (iter *Iterator) Read() interface{} {
|
||||
case Number:
|
||||
return iter.ReadFloat64()
|
||||
case Nil:
|
||||
iter.skipFixedBytes(4) // null
|
||||
iter.skipFourBytes('n', 'u', 'l', 'l')
|
||||
return nil
|
||||
case Bool:
|
||||
return iter.ReadBool()
|
||||
|
Reference in New Issue
Block a user