title: How to get a String value from a Map <String, String[] > in Java?
body: <p>Basically, I have a <code>Map&lt;String, String[] &gt;</code> which contains a bunch of strings with a key. If I do <code>String value = myMap.get("keyName");</code>, this returns an <code>Object</code> rather than a string, and echoing it produces something like this: <code>Ljava.lang.String;@1dfa166</code>. Doing <code>toString()</code> doesn't help either.</p>
  
  <p>What do I need to do to get the value as string:</p>
  
  <p>My code looks like this:</p>
  
  <pre><code>String value ="" + request().body().asFormUrlEncoded().get("keyName");
  </code></pre>
  
  <p>Here the <code>asFormUrlEncoded()</code> method is what returns the <code>Map</code></p>