Generate a function for converting JSON data to a Python object.
"""
Generate a function for converting JSON data to a Python object
"""

import json

def json_to_object(json_data):
    return json.loads(json_data)