def split_text(
        self, json_data: dict[str, Any], convert_lists: bool = False
    ) -> list[str]:
        """Splits JSON into a list of JSON formatted strings."""

        chunks = self.split_json(
            json_data=json_data, convert_lists=convert_lists
        )

        # Convert to string
        return [json.dumps(chunk) for chunk in chunks]
Splits JSON into a list of JSON formatted strings.
py/shared/utils/splitter/text.py