title: I want to use this code for multiple JSON file present in directory
body: <pre><code>import json
  
  with open('C:/Users/Hasnain/Downloads/assignment (1)/assignment/Json_dump/B00AK8J4QS.json') as f:
  
      data = json.load(f)
  
  
  
  #print(json.dumps(data, indent=2, sort_keys=True))
  
  #To get ASIN from JSON file
  
  print(data['asin'])
  
  
  #To extract brandname,itemname,browsemode from data
  
  for detail in data['summaries']:
  
      print(detail['brandName'])
      print(detail['browseNode'])
      print(detail['itemName'])
  
  
  #To extract price from the data
  
  for price in data['attributes']['list_price']:
  
      print(price['value_with_tax'])
  </code></pre>