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

Consider providing distinct value types for ser and de #14

Open
dtolnay opened this issue Aug 29, 2017 · 0 comments
Open

Consider providing distinct value types for ser and de #14

dtolnay opened this issue Aug 29, 2017 · 0 comments

Comments

@dtolnay
Copy link

dtolnay commented Aug 29, 2017

Internally, Serde operations that require buffering a value use two different types for ser and de. Among the differences are ser distinguishes between seq and tuple while de does not, de has a lifetime parameter to hold &'de str while ser does not.

This may make sense to mirror here depending on the intended use cases of serde-value.

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

No branches or pull requests

1 participant