diff --git a/decode_struct.go b/decode_struct.go index 961dcbd..6bb45c2 100644 --- a/decode_struct.go +++ b/decode_struct.go @@ -564,9 +564,6 @@ func (d *structDecoder) decodeStream(s *stream, p unsafe.Pointer) error { return err } s.skipWhiteSpace() - if s.char() == nul { - s.read() - } if s.char() != ':' { return errExpected("colon after object key", s.totalOffset()) }