def get_size_of_json(self, json_response):
        """Calculate the size of a JSON object after converting it to a string.

        Args:
            json_response: The JSON object to calculate the size for.

        Returns:
            int: The size of the JSON object after conversion to a string.
        """
        __method_name = inspect.currentframe().f_code.co_name
        try:
            return sys.getsizeof(json.dumps(json_response))
        except Exception as error:
            applogger.error(
                self.log_format.format(
                    consts.LOGS_STARTS_WITH,
                    __method_name,
                    self.azure_function_name,
                    consts.UNEXPECTED_ERROR_MSG.format(error),
                )
            )
            raise InfobloxException()
Calculate the size of a JSON object after converting it to a string.

        Args:
            json_response: The JSON object to calculate the size for.

        Returns:
            int: The size of the JSON object after conversion to a string.
        
Solutions/Infoblox/Data Connectors/InfobloxCloudDataConnector/InfobloxDossierJobResult/get_dossier_result.py