title: how to filter json array in python
body: <p>That is the current json array I have.
  I want get all json objects that type=1</p>
  
  <p>before filter:</p>
  
  <pre><code>[ 
          {
              "type": 1
              "name" : "name 1",
          }, 
          {
              "type": 2
              "name" : "name 2",
          }, 
          {
              "type": 1
              "name" : "name 3"
          }, 
  ]
  </code></pre>
  
  <p>after filter:</p>
  
  <pre><code>[ 
          {
              "type": 1
              "name" : "name 1",
          }, 
          {
              "type": 1
              "name" : "name 3"
          }, 
  ]
  </code></pre>
  
  <p>please help.</p>