Human: Write me a Python program to disctionary from json string. Assistant: 
Here is a Python program to disctionary from json string

import json

def json2dict(json_string):
    """
    Return a dictionary from json string.

    Arguments:
        json_string (str): json string.

    Returns:
        dict: Dictionary.
    """
    return json.loads(json_string)

# Enter the json string
json_string = "{\"a\": 1, \"b\": 2}"

# Calling the function
print((json2dict(json_string)))

#Example Output
# {'a': 1, 'b': 2}

#Remember to inspect code for bugs.