input: Write a python function to convert a JSON string to a dictionary.
  assert json_to_dict('{"name": "John", "age": 30, "city": "New York"}') == {"name": "John", "age": 30, "city": "New York"}
  assert json_to_dict('{"fruit": "apple", "size": "large", "color": "red"}') == {"fruit": "apple", "size": "large", "color": "red"}
  assert json_to_dict('{"school": "XYZ", "location": "ABC", "rank": 5}') == {"school": "XYZ", "location": "ABC", "rank": 5}
output: import json
  
  def json_to_dict(json_string):
      return json.loads(json_string)