title: How to send a HashMap from Java to C via JNI
body: <p>I have an <code>Object</code> that has a <code>HashMap</code> field. When the <code>Object</code> is passed to C, how can I access the field?</p>
  
  <p>The <code>Object</code>'s <code>Class</code> has the following fields:</p>
  
  <pre><code>private String hello;
  private Map&lt;String, String&gt; params = new HashMap&lt;String, String&gt;();
  </code></pre>