Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Support RON and JSON bin formats #223

Merged

Conversation

DavePearce
Copy link
Collaborator

Previously, the ability to generate JSON binfiles was hidden behind a build feature. Hence, you needed to build the binary specifically for generating JSON binfiles. The primary reason for this is that supporting both RON and JSON formats in the same binary required breaking changes to the format. However, the time has come to address this and support both formats. At this time, RON remains the default choice --- but this will be deprecated in the very near future.

This replaces the default `serde::Deserializer` for `ColumnRef` and
`Handle`.  These are now serialised as strings only.  The reason for
this is that the JSON serialiser cannot otherwise handle either of these
items being used as _keys_ for a map.
@DavePearce DavePearce self-assigned this Jul 18, 2024
@DavePearce DavePearce linked an issue Jul 18, 2024 that may be closed by this pull request
@DavePearce DavePearce merged commit 5cb8436 into master Jul 18, 2024
1 check passed
@DavePearce DavePearce deleted the 221-support-both-ron-and-json-bin-formats-together branch July 18, 2024 02:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support both RON and JSON bin formats together
1 participant