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

Add componentN() functions to StructField #61

Closed popematt closed 2 years ago

popematt commented 2 years ago

Issue #, if available:

N/A

Description of changes:

Adds componentN() functions to the StructField interface so that we can use destructuring declarations on StructFields.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.