amazon-ion / ion-rust

Rust implementation of Amazon Ion
Apache License 2.0
147 stars 35 forks source link

Implement serde Serializer/Deserializer::is_human_readable() #792

Closed desaikd closed 3 months ago

desaikd commented 3 months ago

Related PR #791

Description of changes: This PR works on adding is_human_readable() for Serializer and Deserializer in serde implementation of Ion.

List of changes:

Test: Added a unit test that converts to/from binary and text as well as compares for roundtrip.

Note for reviewer: Miri test here is failing due to writer code in lazy writer and is unrelated to current change.

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