While not very common, $0 is a valid Ion symbol, but attempting to read anything containing $0 into IonElement will result in an exception being thrown.
We should consider adding support for it, if possible. Right now, SymbolElement has a non-nullable textValue: String field. Making this field nullable would be a breaking change.
As a partial improvement, we could make $0 a latent error that gets thrown only when trying to access some symbol that has unknown text rather than throwing eagerly on load.
While not very common,
$0
is a valid Ion symbol, but attempting to read anything containing$0
intoIonElement
will result in an exception being thrown.We should consider adding support for it, if possible. Right now,
SymbolElement
has a non-nullabletextValue: String
field. Making this field nullable would be a breaking change.