title: In Ireport if we pass map as a parameter from java to ireport how to access map values based on key of ireport field
body: <p>From java code I pass a parameter to ireport like this</p>
  
  <pre><code>fillReportToFile(sourceFilename, map, beanColDataSource1);
  </code></pre>
  
  <p>where map is something like this</p>
  
  <blockquote>
    <p>AFG, [1, 2] AZE, [1, 1] BAN, [0, 1]</p>
  </blockquote>
  
  <p>where key is country_name and the list are values .
  Now I need to access this in Ireport with key as country_name 
  I tried following in ireport,</p>
  
  <pre><code>$P{$F{COUNTRY_NAME}}.get( 1 );
  </code></pre>
  
  <p>but it gives parse errors.</p>
  
  <p>Can anyone suggest me some way of doing this?</p>