When using Spring MVC you may have to convert an Object to a MultiValueMap<String,String>. For example when you want to perform a HTTP call with parameters. This tutorial will show how to Spring MVC Convert Object to MultiValueMap<String,String>.

Install Jackson

You need Jackson. So add the dependency to your Maven project.

Object to MultiValueMap<String,String>

We use Jackson objectMapper to convert the Java Bean to a Java Map and then to Spring MultiValueMap :

References