Skip to content

Conversation

@asomers
Copy link

@asomers asomers commented Dec 29, 2025

Implement serialization and deserialization for Bin, Json, and Ron, for Range.

Implement serialization and deserialization for Bin, Json, and Ron, for
Range.
Copy link
Owner

@not-fl3 not-fl3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For json/ron I personally would prefer to serialize ranges as tuples, with no start/end tokens. Maybe even with reusing tuple serializing code instead of a custom implementation.

@asomers
Copy link
Author

asomers commented Dec 30, 2025

Ok, I can do that. I did it this way just because it's how serde and serde_json do it.

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.

2 participants