#!/usr/bin/python3
"""defining to_json_string function"""


import json


def to_json_string(my_obj):
    """returns json representation of an object"""
    return json.dumps(my_obj)

#!/usr/bin/python3
"""defining to_json_string function"""


import json


def to_json_string(my_obj):
    """returns json representation of an object"""
    return json.dumps(my_obj)

#!/usr/bin/python3 defining to_json_string function returns json representation of an object