How to get below request params as a map (or any suitable java collection) in spring controller? I want request param 'filter' to be mapped into controller method.
http://example.com/users?filter[0][name]=Dane&filter[1][email]=dane@exm.com
EDIT:
I want something like this in my Rest Controller:
public void getQueryParams(@RequestParam("filter") Map<String, String> filterValues) {
//Method body....
}
Is there a way to achieve this? Appreciate your help. Thanks.