title: remove object from json array based on condition using java
body: <p>In my application I get output in the form of Json array as below</p>
  
  <pre><code>{Students: [{Name: Harry,Subject: maths,}, 
                 {Name:Ryan,Subject: Biology,}, 
                 {Name:James ,Subject: maths,}]}
  </code></pre>
  
  <p>From this array I want to remove the whole object based on the applied condition. </p>
  
  <p>Lets say if Subject is "Biology" remove the whole object and return:</p>
  
  <pre><code>{Students: [{Name: Harry,Subject: maths,}, 
              {Name:James ,Subject: maths,}]}
  </code></pre>
  
  <p>How can I achieve this using java programming.</p>