SyntaxFix
Write A Post
Hire A Developer
Questions
I'm afraid your map contains something other than String objects. If you call toString() on a String object, you obtain the string itself.
String
toString()
What you get [Ljava.lang.String indicates you might have a String array.
[Ljava.lang.String