ion-c
ion-c copied to clipboard
ion_reader_read_* has inconsistent behavior when reading null values
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.