ion-c icon indicating copy to clipboard operation
ion-c copied to clipboard

ion_reader_read_* has inconsistent behavior when reading null values

Open tgregg opened this issue 6 years ago • 0 comments

For example, when positioned on a null value, ion_reader_read_bool returns IERR_NULL_VALUE when read by a binary reader and IERR_INVALID_STATE when read by a text reader. It should return IERR_NULL_VALUE in this case for all APIs from all readers.

tgregg avatar Dec 05 '18 23:12 tgregg