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

Improve usage of loader functions from java. #51

Closed dlurton closed 3 years ago

dlurton commented 3 years ago

To IonElementLoader.kt

This enables Java usage to look like:

AnyElement expectedElem = ElementLoader.loadSingleElement(expectedIonText);