You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now, this is pbJSON, and serde_json only uses visit_map, so that's definitely an argument for not generating visit_seq in this crate.
However, implementing it here would make the generated impls arguably more correct, make them more flexible, and be in line with serde recommendations.
Are there any reasons visit_seq can't be implemented?
The text was updated successfully, but these errors were encountered:
Currently, the
Deserializer
impls generated by pbjson can't be used with bincode, because bincode usesvisit_seq
and pbjson only implementsvisit_map
.Now, this is pbJSON, and serde_json only uses
visit_map
, so that's definitely an argument for not generatingvisit_seq
in this crate.However, implementing it here would make the generated impls arguably more correct, make them more flexible, and be in line with serde recommendations.
Are there any reasons
visit_seq
can't be implemented?The text was updated successfully, but these errors were encountered: