title: Read json file using python
body: <p>Team, i have my code working with dict in comments below. Now, i want to move that to file.json and read from there keeping the logic same. any hints how can i represent my comment section below in json and read it backin dictionary?</p>
  
  <p>convert python dictionary to json file and read in python</p>
  
  <pre><code>'''
  source_cidr_name = {
      'location1' : ("1.1.1.1/32", [22, 443]),
      'location2' : ("2.2.2.2/32", [443])}
  '''
  source_cidr_name = {}
      with open('/Users/code/dev/whitelist.json') as jf:
      source_cidr_name = json.load(jf)
  </code></pre>
  
  <p>file.json looks below but i don't know how to represent my ports 22 and 443
      {
      "source_cidr_whitelist": {"key1": {"ip_subnet": "1.1.1.1/32"}, "key2": {"ip_subnet": "2.2.2.2/32"]}}}</p>