#!/usr/bin/python3
"""
This module define the class_to_json function.
"""


def class_to_json(obj):
    """
    Write a function that returns the dictionary description with
    simple data structure for JSON serialization of an object.
    """
    return obj.__dict__
