Open oblique opened 1 year ago
I have something like this:
struct Params { user_ids: Vec<u32>, }
And I want to be serialized to user_ids[]=1&user_ids[]=2, instead of user_ids[0]=1&user_ids[1]=2.
user_ids[]=1&user_ids[]=2
user_ids[0]=1&user_ids[1]=2
I couldn't find any way to do it.
I have something like this:
And I want to be serialized to
user_ids[]=1&user_ids[]=2
, instead ofuser_ids[0]=1&user_ids[1]=2
.I couldn't find any way to do it.