ryanaston opened a new issue, #5069: URL: https://github.com/apache/arrow-rs/issues/5069
**Is your feature request related to a problem or challenge? Please describe what you are trying to do.** Using the decoder provided by arrow-json ReaderBuilder to serialize a serde_json number which was deserialized with the `arbitrary_precision` feature enabled results in an error. This is due to serde_json's use of a struct to represent the number to avoid loss in precision ([serialization](https://github.com/serde-rs/json/blob/4bc1eaa03a6160593575bc9bc60c94dba4cab1e3/src/number.rs#L385) and [deserializiation](https://github.com/serde-rs/json/blob/4bc1eaa03a6160593575bc9bc60c94dba4cab1e3/src/number.rs#L432)). The TapeSerializer understandably sees this as a struct which the associated decoders don't know how to handle. **Describe the solution you'd like** Serialize serde_json arbitrary_precision numbers as strings rather than structs. This will allow the decoders to properly parse the value. **Describe alternatives you've considered** N/A **Additional context** N/A -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
