title: how to know if a json object contains a json object
body: <p>I am a novice in java and I am looking for a way to know if a json object contains another jsonObject by using json.org library  (not json.org.simple).</p>
  
  <p>For the moment I am using this :</p>
  
  <pre><code>JSONObject json= new JSONObject();
  json.has("JsonFieldName");
  </code></pre>
  
  <p>but but I need to know if there is a way to not specify the Json field Name</p>
  
  <p>If you have a better solution with Json.org, I will take.</p>
  
  <p>Thanks</p>