Skip to content
Snippets Groups Projects
Commit fed4e1fe authored by vlorentz's avatar vlorentz
Browse files

Fix SWHID deserialization from serde_json::Deserializer::from_reader

In this case, serde_json only yields owned Strings, so
`<&str>::deserialize()` fails. We need a visitor, which has a default
implementation of visit_string that defers to visit_str, so it works.
parent 3216ab1b
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment