title: Remove duplicate JSON objects from list in python
body: <p>I have a list of dict where a particular value is repeated multiple times, and I would like to remove the duplicate values.</p>
  
  <p>My list:</p>
  
  <pre><code>te = [
        {
          "Name": "Bala",
          "phone": "None"
        },
        {
          "Name": "Bala",
          "phone": "None"
        },
        {
          "Name": "Bala",
          "phone": "None"
        },
        {
          "Name": "Bala",
          "phone": "None"
        }
      ]
  </code></pre>
  
  <p>function to remove duplicate values:</p>
  
  <pre><code>def removeduplicate(it):
      seen = set()
      for x in it:
          if x not in seen:
              yield x
              seen.add(x)
  </code></pre>
  
  <p>When I call this function I get <code>generator object</code>.</p>
  
  <pre><code>&lt;generator object removeduplicate at 0x0170B6E8&gt;
  </code></pre>
  
  <p>When I try to iterate over the generator I get <code>TypeError: unhashable type: 'dict'</code></p>
  
  <p>Is there a way to remove the duplicate values or to iterate over the generator</p>