You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the ability to read Element values is provided by implementations of the ElementReader trait. Historically, this included an implementation provided by ion-c-sysIonCElementReader as well as a native Rust implementation (NativeElementReader).
However, following PR #418, ion-rust no longer has a dependency on ion-c-sys. We should merge the functionality defined by ElementReader into IonReader, allowing applications to read the current value as either a known Rust type (read_f64()) or an Element (read_element()).
We should also offer methods to iterate across the elements of the current level.
Currently the ability to read
Element
values is provided by implementations of theElementReader
trait. Historically, this included an implementation provided byion-c-sys
IonCElementReader
as well as a native Rust implementation (NativeElementReader
).However, following PR #418,
ion-rust
no longer has a dependency onion-c-sys
. We should merge the functionality defined byElementReader
intoIonReader
, allowing applications to read the current value as either a known Rust type (read_f64()
) or anElement
(read_element()
).We should also offer methods to iterate across the elements of the current level.
Straw man method signatures
The text was updated successfully, but these errors were encountered: