I have a JavaScript object that I am sending back to Java using AJAX:
var jsonData = {
"testJson" : "abc",
"userId" : "123"
};
After printing the map, it appears as follows:
key: jsondata value:[object Object]
What is the correct way to parse this object?