def make_complete_json_file(self, file_data1, file_data2, is_first_chunk):
        """Combine and returns a single complete JSON data from 2 partial JSON data.

        Args:
            file_data1 (str): Partial JSON data.
            file_data2 (str): Partial JSON data.
            is_first_chunk (bool): Indicates if the file_data1 contains start of JSON data.

        Returns:
            tuple: A tuple containing complete JSON data and the remaining data that is not part of the complete JSON.
        """
        __method_name = inspect.currentframe().f_code.co_name
        try:
            start_index = 0
            original_index = len(file_data1)
            end_index = original_index

            chunk = file_data1[start_index:end_index]
            if not is_first_chunk:
                chunk = "[" + chunk
            index = 0
            open_brac_counter = 0
            read_counter = 0
            while True:
                try:
                    char = file_data2[index]
                except IndexError:
                    break

                if char == "{":
                    if read_counter == 0:
                        open_brac_counter = -1
                        read_counter += 1
                    open_brac_counter += 1
                if char == "}":
                    if read_counter == 0:
                        read_counter += 1
                    open_brac_counter -= 1
                chunk = chunk + file_data2[index]
                index += 1
                if open_brac_counter < 0:
                    try:
                        chunk = chunk + "]"
                        json.loads(chunk)
                        break
                    except json.JSONDecodeError:
                        open_brac_counter = 0
                        chunk = chunk[:-1]

            index += 1
            return chunk, index
        except Exception as err:
            applogger.error(
                consts.LOG_FORMAT.format(
                    consts.LOGS_STARTS_WITH,
                    __method_name,
                    consts.PARSE_RAW_JSON_DATA_FUNCTION_NAME,
                    "while processing data in split data: Error-{}".format(err),
                )
            )
            raise InfobloxException()
Combine and returns a single complete JSON data from 2 partial JSON data.

        Args:
            file_data1 (str): Partial JSON data.
            file_data2 (str): Partial JSON data.
            is_first_chunk (bool): Indicates if the file_data1 contains start of JSON data.

        Returns:
            tuple: A tuple containing complete JSON data and the remaining data that is not part of the complete JSON.
        
Solutions/Infoblox/Data Connectors/InfobloxCloudDataConnector/InfobloxParseRawIndicators/parse_json_files.py