title: Remove object based on a key from array of objects
body: <p>Below is the json :    </p>
  
  <pre><code>var data= {
      'A' : {
          'Total' : 123,
          'Cricket' : 76,
          'Football' : 12,
          'Hockey' : 1,
          'None' : 10
      },
      'B' : {
          'Total': 123,
          'Cricket': 76,
          'Football': 12,
          'Hockey': 1,
          'None': 10
      },
      'C' : {
          'Total': 0,
          'Cricket': 76,
          'Football': 12,
          'Hockey': 1,
          'None': 10
      }   
  }
  </code></pre>
  
  <p>I want to remove C in which value of total is zero,,</p>
  
  <pre><code>$.each(json, function (key, value) {
      if (value.Total === 0) {
          //delete
      }
  });
  </code></pre>
  
  <p>I have tried various ways but didnt work</p>