How to handle form inputs with multiple values?

I see. You might find the code snippet from this answer a helpful starting point for writing your own deserialization logic:

Of course you just want to read a Vec<String> and not a HashMap<String, HashMap<String, String>>, but I think the basic structure can be adopted to fit your use-case.


Edit: I started building a rudimentary example for your case: playground.

2 Likes