title: How to read json string in java?
body: <p>This is my json-string:</p>
  
  <pre><code>[
      {
          "id": 1,
          "ip": "192.168.0.22",
          "folderName": "gpio1_pg3"
      },
      {
          "id": 2,
          "ip": "192.168.0.22",
          "folderName": "gpio2_pb16"
      }
  ]
  </code></pre>
  
  <p>I want to iterate about the array, because I will create an special object for each array member.</p>
  
  <p>This is the way how I get the json string from an http url.</p>
  
  <pre><code>BufferedReader bufferedReader = 
           new BufferedReader(new InputStreamReader(inputStreams, Charset.forName("UTF-8")));
  
  String jsonText = readAll(bufferedReader);
  </code></pre>
  
  <p>Could you give me an example how I can get an Array of all json-elements.
  One array-element have to contain the id, ip, and folderName.</p>