title: Parsing JSON in python for second object
body: <p>I have a sample JSON in this format: </p>
  
  <p>JSON FILE:</p>
  
  <pre><code>{
     "Name": "ABC",
     "Phone":"123",
     "Address":[{"City":"City-1"},{"Country":"Country-1"}]
  }
  
  {
     "Name": "ABC-1",
     "Phone":"123-1",
     "Address":[{"City":"City-2"},{"Country":"Country-2"}]
  }
  </code></pre>
  
  <p>Is there any approach to parse the JSON and loop through the file and print each <code>key-value</code> pair.</p>
  
  <p>The approach I used was through using </p>
  
  <pre><code>json_open = open(json_file)
  json_data = json.load(json_open)
  print(json_data[Name]) ##should give ABC
  print(json_data[Name]) ##should give ABC-1 - unsure about the syntax and format
  </code></pre>
  
  <p>But I'm currently able to print only the first object values - i.e. <code>name=ABC</code> and not <code>name=ABC-1</code></p>