title: need to extract a particular value from the JSON response in java
body: <p>I have a code where i get a Json response in array format</p>
  
  <pre><code>{  "data": {
  "findAllUsers": {
    "pendingUsers": [
      {
        "userId": "123",
        "firstName": "FirstNamemz8",
        "lastName": "LastName0Hz",
        "status": "Pending"
      },
      {
        "userId": "456",
        "firstName": "FirstNameEgl",
        "lastName": "LastNameVCC",
        "status": "Pending"
      }
    ]
  }  }}
  </code></pre>
  
  <p>I need to get the list of userID in list format. below is the code i used which doesnt works. Kindly help me out in this with working code.</p>