title: Parse JSON object recursively - Java
body: <p>I have a JSON with list of Objects and any of the item in the list can have null or the same object as a value for a key. I am looking for a faster way to parse the json to arrive at my final result. 
  The data structure looks like -</p>
  
  <pre><code>[
      {
          "firstName": "Bruce",
          "familyMembers": null
      },
      {
          "firstName": "Gates Family",
          "familyMembers": [
              {
                  "firstName": "Bill",
                  "familyMembers": null
              },
              {
                  "firstName": "Steve",
                  "familyMembers": null
              }
          ]
      },
      {
          "firstName": "Lee",
          "familyMembers": null
      },
      {
          "firstName": "Chan",
          "familyMembers": null
      }
  ]
  </code></pre>
  
  <p>The output should be a set = ("Bruce", "Bill", "Steve", "Lee", "Chan").</p>
  
  <p>I am looking for a best possible way to do this in Java, such that i dont increase my response time by getting caught in this parsing hell. 
  Appreciate your time on this. </p>