<human>:  Can you show me a Python function to convert from json to obejct.
<bot>: Here is a Python function to from json to obejct

import json

def from_json(json_string):
  """
  Convert a json string to an object.
  """
  return json.loads(json_string)

# Enter the json string
json_string = "{\"name\": \"
Rosey\", \"age\": 20}"

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

#Example Output
# {'name': '
Rosey', 'age': 20}

#Remember to inspect code for bugs.