title: How to read JSON file in Java with simple json?
body: <p>If I have a JSON like this:</p>
  
  <pre><code>{
    "name": "Johnny",
    "Gender": {
      "male": true,
      "female": false
    },
    "What does Johnny likes?": ["Travels", "Woman"],
    "Travels": [
      {
        "Country": "Spain",
        "City": "Madrid"
      },
      {
        "Country": "Greece",
        "City": "Kalokairi"
      }
    ]
  }
  </code></pre>
  
  <p>I know that I can do this to access to <strong>name</strong>:</p>
  
  <pre><code>object.getString("name");
  </code></pre>
  
  <p>To access <strong>gender</strong> I can do this:</p>
  
  <pre><code>JSONObject gender = (JSONObject) object.get("Gender");
  gender.get("male");
  gender.get("female");
  </code></pre>
  
  <p>To access <strong>What does Johnny likes?</strong> I can:</p>
  
  <pre><code>JSONArray likes = (JSONArray) objet.get("What does Johnny likes?");
          Iterator&lt;String&gt; iterator = likes.iterator();
          while (iterator.hasNext()) {
              //code here
          }
  </code></pre>
  
  <p>But how do I access <strong>Travels</strong>? I'm really not sure to understand it?</p>