# Convert JSON to dictionary in Python 
 # Python program to demonstrate
# Conversion of JSON data to
# dictionary
  
  
# importing the module
import json
  
# Opening JSON file
with open('data.json') as json_file:
    data = json.load(json_file)
  
    # Print the type of data variable
    print("Type:", type(data))
  
    # Print the data of dictionary
    print("\nPeople1:", data['people1'])
    print("\nPeople2:", data['people2'])