I've a Java Script map having key value pairs which i Need to send to spring boot contoller :--
Example :--
var myMap = new Map();
myMap.set('1', 'value1');
myMap.set('2', 'value2');
I'm not able to get this JavaScript (js) map in my spring boot controller. To my best practice I'm trying to get this map in java's HashMap or Map. A help is highly appreciated. :)