#!/usr/bin/python3
""" Function that returns the JSON representation of an object (string): """


import json


def to_json_string(my_obj):
    """ to_json_string method:
        Args:
            my_obj: object to be returned as a JSON representation...
            ...of an object(string)
        Returns:
            my_obj as a JSON representation of an object(string)
    """
    return (json.dumps(my_obj))
