title: how to validate each json elements
body: <p>How do i validate each <strong>json</strong> elements?</p>
  
  <pre><code>[
    {"FirmId":"1","ProductCode":"1","TotalStock":"16"},
    {"TotalStock":"0"},
    {"FirmId":"1","ProductCode":"12461","TotalStock":"0"},
    {"FirmId":"1","ProductCode":"12462","TotalStock":"0"},
    {"FirmId":"1","ProductCode":"12463","TotalStock":"10"}
  ]
  </code></pre>
  
  <p>in above json element no.2 is different than all others, it should be equal.
  how to know that?
  is there any inbuild function?</p>