Skip to content

Commit 0a5b656

Browse files
committed
Removed special handling of 'null' return
1 parent 16b91a7 commit 0a5b656

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

parser.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -446,10 +446,6 @@ func Get(data []byte, keys ...string) (value []byte, dataType ValueType, offset
446446
value = value[1 : len(value)-1]
447447
}
448448

449-
if dataType == Null {
450-
value = []byte{}
451-
}
452-
453449
return value, dataType, endOffset, nil
454450
}
455451

0 commit comments

Comments
 (0)