input: def parse_json_to_dict(json_string: str) -> dict:
      """ Parse a JSON-formatted string into a dictionary.
      >>> parse_json_to_dict('{"name":"John","age":30,"address":{"city":"New York","state":"NY"}}')
      {'name': 'John', 'age': 30, 'address': {'city': 'New York', 'state': 'NY'}}
      """
      import json
      return json.loads(json_string)
output:     import json
      return json.loads(json_string)