title: Efficient JSON search in Java
body: <p>Good Day!
  In Java, is there any way to search a large JSON by keys efficiently. </p>
  
  <p>My Sample JSON:</p>
  
  <pre><code>{
      "my_data": [
          {
              "id": "12",
              "message": "z1",
              "text": "hai"
          },
          {
              "id": "13",
              "message": "z2",
              "text": "get"
          },
          {
              "id": "14",
              "message": "z3",
              "text": "up"
          }
      ]
  }
  </code></pre>
  
  <p>The 'my_data' JsonArray is very lengthy. As it is very large, it takes more time to search a particular word in it as:</p>
  
  <pre><code>my_data.get(index).getString("text").contains(SEARCH_STRING)
  </code></pre>
  
  <p>Is there any pre-defined libraries or standard technique to search efficiently?</p>
  
  <p>Thank you.</p>