title: How to read the response of a REST api in spring boot
body: <p>I am making request to a post API using RestTemplate which will give response as application/json
  {
  &quot;BuzRules&quot;:{
  &quot;Id&quot;: &quot;1234&quot;,
  &quot;Unit&quot;: &quot;ou12&quot;,
  &quot;CaId&quot;: &quot;abc43&quot;
  },
  &quot;verifyRule&quot;:{
  &quot;isValidId&quot;: false,
  &quot;isValidUnit&quot;: true,
  &quot;isValidCaId&quot;: false
  }
  }</p>
  <p>I need to read the all attributes of verifyRule and if the any of these are false then will set a message that &quot;I'd is wrong, provide correct I'd to verify the rule correctly&quot;.</p>
  <p>Please provide some working examples.
  THANKS IN ADVANCE.</p>