Human: from json to obejct. Assistant: 
Here is a Python function to from json to obejct

import json

def from_json(json_object):
        """
        Converts a json object to an object.
        """
        return json_object

# Enter the json object
json_object = {"a": 1, "b": 2}

# Calling the function
object = from_json(json_object)

# Printing the object
print(object)

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

#Remember to inspect code for bugs.