def NewFromJSON(data):
        """
        Create a new Comment instance from a JSON dict.

        Args:
            data (dict): JSON dictionary representing a Comment.

        Returns:
            A Comment instance.
        """
        return Comment(
            body=data.get('body', None),
            posted_at=data.get('posted_at', None),
            user=User.NewFromJSON(data.get('user', None))
        )