ion-python icon indicating copy to clipboard operation
ion-python copied to clipboard

Fix Bug with Ion Text<>Binary Conversion

Open rmarrowstone opened this issue 1 year ago • 0 comments

This change fixes a bug in the Ion Text<>Binary conversion where an Ion stream of multiple top-level values would be transcoded as an Ion list.

In the process of fixing it I cleaned up all of the Format comparisons to be identity of enum constant instead of string comparison of value. This is a lot more succinct and avoid helps to avoid typo errors.

Issue #, if available:

Description of changes:

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

rmarrowstone avatar Jan 10 '24 21:01 rmarrowstone