-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Labels
enhancementNew feature or requestNew feature or requestfrontendTopics: Language, Syntactic Sugar, UsabilityTopics: Language, Syntactic Sugar, Usability
Description
Right now, it's not very convenient to transmit nontrivial data structures via pods. For example, in FrogCrypto, I'd like the server to be able to send a Vec<(i64, RawValue)> to the client. There is a lot of packing and unpacking that needs to be done to convert this type into a Value and then back into its original form.
It seems like the most convenient thing would be to implement a serde::Serializer and serde::Deseralizer that can handle converting to and from TypedValue, similar to the approach taken by serde_json::Value.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestfrontendTopics: Language, Syntactic Sugar, UsabilityTopics: Language, Syntactic Sugar, Usability