(self, doc)
return doc.to_json()
:param doc:
        :return: The JSON representation of the doc
:param doc:
        :return: The JSON representation of the doc
: param doc : : return : The JSON representation of the doc
def doc_to_json(self, doc):
        """
        :param doc:
        :return: The JSON representation of the doc
        """
        return doc.to_json()
def doc_to_json ( self , doc ) : return doc . to_json ( )