title: How to get values from jobject in C using JNI?
body: <p>How can I get the values of a jobject in C?<br>
  I use <code>JNI</code> and call a java function in C. The parameter is a jobject and it should look like that: <code>{"John", "Ganso", 5}</code>.<br>
  Now I want to get the values from that object but I dont know how. Do you have any suggestions how to solve that?<br>
  My struct in C looks like my class in java.</p>
  
  <p>My code looks like that:   </p>
  
  <pre><code>JNIEXPORT void JNICALL
  Java_model_JNIResultSet_printToFile(JNIEnv *env, jobject obj,
      jobject o) {
  
  // How can I get values of jobject o?
  }
  </code></pre>