amazon-ion / ion-element-kotlin

IonElement is an immutable in-memory representation of the Ion data format. IonElement's API is idiomatic to Kotlin.
Apache License 2.0
8 stars 8 forks source link

Create some way to ease migration from IonValue to IonElement #92

Open popematt opened 5 months ago

popematt commented 5 months ago

Right now, converting between IonValue and IonElement requires making a deep copy of the data. The computational cost of converting the data might be too high for some users to even consider using IonElement if they are already using other libraries that handle IonValue.

Some possible solutions are:

popematt commented 5 months ago

Here are some more thoughts about possible solutions.